diff --git a/.github/workflows/chat-ops.yml b/.github/workflows/chat-ops.yml new file mode 100644 index 00000000..06f4ec93 --- /dev/null +++ b/.github/workflows/chat-ops.yml @@ -0,0 +1,21 @@ +name: Slash Command Dispatch + +on: + issue_comment: + types: [created] + +jobs: + resolve-command-dispatch: + name: Conflict Resolution Command + runs-on: ubuntu-latest + if: github.event.actor.login == github.event.payload.issue.user.login + + steps: + - name: Conflict Resolution Command Dispatch + uses: peter-evans/slash-command-dispatch@v1 + with: + token: ${{ secrets.ICINGABOT_TOKEN }} + reaction-token: ${{ secrets.ICINGABOT_TOKEN }} + commands: resolve + permission: read + issue-type: pull-request