Introduce workflow chat-ops

This commit is contained in:
Johannes Meyer 2020-07-13 13:12:26 +02:00
parent 5c3d9a3f1b
commit 94e98df59f
1 changed files with 21 additions and 0 deletions

21
.github/workflows/chat-ops.yml vendored Normal file
View File

@ -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