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