Compare commits
8 Commits
master
...
codacy_tes
Author | SHA1 | Date | |
---|---|---|---|
|
0a0df9b275 | ||
|
254ee617d5 | ||
|
cc5a9a02d8 | ||
|
5b72341fb8 | ||
|
6eb66716cd | ||
|
664f14ff64 | ||
|
1a46b87319 | ||
|
43bef4dfd7 |
32
.github/workflows/discord.yml
vendored
Normal file
32
.github/workflows/discord.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: discord message
|
||||||
|
|
||||||
|
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [synchronize, opened, reopened, ready_for_review]
|
||||||
|
issues:
|
||||||
|
types: [opened, transferred, pinned, unpinned]
|
||||||
|
fork:
|
||||||
|
release:
|
||||||
|
types: [published, deleted, edited]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: send custom message with args
|
||||||
|
uses: appleboy/discord-action@master
|
||||||
|
with:
|
||||||
|
webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }}
|
||||||
|
webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
|
||||||
|
# Relevant to github contexts https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context
|
||||||
|
args: |
|
||||||
|
New ${{ github.event_name }} has been created by ${{ github.actor }} on ${{ github.event_name }}.
|
||||||
|
event_path: ${{ github.event_path }}
|
||||||
|
github.ref: ${{ github.ref }}
|
||||||
|
github.head_ref: ${{ github.head_ref }}
|
||||||
|
github.base_ref: ${{ github.base_ref }}
|
||||||
|
github.repository: ${{ github.repository }}
|
@ -8,7 +8,7 @@ from termcolor import cprint
|
|||||||
Requires pip for termcolor
|
Requires pip for termcolor
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# FIXME: Add logic to generate help message and handle arguments automatically
|
# FIXME: Add logicfdg to generate help message and handle arguments automatically
|
||||||
|
|
||||||
def cli_arg():
|
def cli_arg():
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
SUBCOMS (Subcommands):
|
SUBCOMS (Subcommands):
|
||||||
resolve resolve package on the system
|
resolve resolve package on the system
|
||||||
*/
|
*/
|
||||||
|
sdagasdg
|
||||||
// Sourcing
|
// Sourcing
|
||||||
// FIXME-QA: Is this the best way to do this?
|
// FIXME-QA: Is this the best way to do this?
|
||||||
// FIXME: Source the crate based on the name in Cargo.toml
|
// FIXME: Source the crate based on the name in Cargo.toml
|
||||||
|
Loading…
Reference in New Issue
Block a user