Compare commits
1 Commits
master
...
slash-comm
Author | SHA1 | Date | |
---|---|---|---|
|
25249270ac |
18
.github/workflows/slash-commands.yml
vendored
Normal file
18
.github/workflows/slash-commands.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
on: issue_comment
|
||||||
|
name: Issue Comments
|
||||||
|
jobs:
|
||||||
|
check_comments:
|
||||||
|
name: Check comments for /test
|
||||||
|
steps:
|
||||||
|
- name: Check for Command
|
||||||
|
id: command
|
||||||
|
uses: xt0rted/slash-command-action@v1
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
command: test
|
||||||
|
reaction: "true"
|
||||||
|
reaction-type: "eyes"
|
||||||
|
allow-edits: "false"
|
||||||
|
permission-level: admin
|
||||||
|
- name: Act on the command
|
||||||
|
run: echo "The command was '${{ steps.command.outputs.command-name }}' with arguments '${{ steps.command.outputs.command-arguments }}'"
|
Loading…
Reference in New Issue
Block a user