Add GitHub Action for comment commands (#4987)

This commit is contained in:
Ben Thomson 2020-03-17 13:05:12 +08:00 committed by GitHub
parent 2a86f7b32f
commit 210fe89fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
.github/workflows/commander.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Commander
on:
issue_comment:
types: [created]
jobs:
runComment:
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run comment
uses: nwtgck/actions-comment-run@v1.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
allowed-associations: '["OWNER", "MEMBER"]'