Compare commits

...

8 Commits

Author SHA1 Message Date
Kreyren
0a0df9b275 gfj 2020-03-18 16:17:05 +00:00
Kreyren
254ee617d5 test for codacy 2020-03-18 16:13:35 +00:00
Kreyren
cc5a9a02d8 test 2020-03-18 11:42:59 +00:00
Kreyren
5b72341fb8 test 2020-03-18 11:42:38 +00:00
Kreyren
6eb66716cd test 2020-03-18 11:37:27 +00:00
Kreyren
664f14ff64 test 2020-03-18 11:34:10 +00:00
Kreyren
1a46b87319 Cherrypick triggers 2020-03-18 11:25:40 +00:00
Kreyren
43bef4dfd7
Create discord.yml 2020-03-18 11:16:53 +01:00
3 changed files with 34 additions and 2 deletions

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
"""
# 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():
if len(sys.argv) == 1:

@ -11,7 +11,7 @@
SUBCOMS (Subcommands):
resolve resolve package on the system
*/
sdagasdg
// Sourcing
// FIXME-QA: Is this the best way to do this?
// FIXME: Source the crate based on the name in Cargo.toml