Create slash-commands.yml

This commit is contained in:
Kreyren 2020-03-18 11:30:23 +01:00 committed by GitHub
parent d256ff6c67
commit 25249270ac
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

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 }}'"