From 25249270ac9761486afd6344337baa961c4395c0 Mon Sep 17 00:00:00 2001 From: Kreyren Date: Wed, 18 Mar 2020 11:30:23 +0100 Subject: [PATCH] Create slash-commands.yml --- .github/workflows/slash-commands.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/slash-commands.yml diff --git a/.github/workflows/slash-commands.yml b/.github/workflows/slash-commands.yml new file mode 100644 index 0000000..214b3de --- /dev/null +++ b/.github/workflows/slash-commands.yml @@ -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 }}'"