create-or-update-comment/.github/workflows/slash-command-dispatch.yml

27 lines
713 B
YAML
Raw Normal View History

2020-04-17 14:05:53 +08:00
name: Slash Command Dispatch
on:
issue_comment:
types: [created]
jobs:
slashCommandDispatch:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
2020-07-25 12:55:40 +08:00
uses: peter-evans/slash-command-dispatch@v2
2020-04-17 14:05:53 +08:00
with:
2020-05-25 16:24:43 +08:00
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
config: >
[
{
"command": "rebase",
"permission": "admin",
"repository": "peter-evans/slash-command-dispatch-processor",
"issue_type": "pull-request"
},
{
"command": "test",
"permission": "admin",
"named_args": true
}
]