Skip to content

Commit

Permalink
Add slash command dispatch workflow and blacktest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Jan 3, 2024
1 parent 4243c33 commit a8d4d01
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/slashcommands.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Slash Command Dispatch
on:
issue_comment:
types: [created]
jobs:
slashCommandDispatch:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
with:
token: ${{ secrets.PAT }}
commands: |
test
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: blacktest
on:
repository_dispatch:
types: [test-command]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable

0 comments on commit a8d4d01

Please sign in to comment.