From 94e98df59fac307bad32705dff52f1193f64b24d Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 13 Jul 2020 13:12:26 +0200 Subject: [PATCH] Introduce workflow chat-ops --- .github/workflows/chat-ops.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/chat-ops.yml 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