create-pull-request/.github/workflows/slash-command-dispatch.yml

38 lines
1.1 KiB
YAML
Raw Normal View History

2019-12-03 11:50:15 +01:00
name: Slash Command Dispatch
on:
issue_comment:
types: [created]
jobs:
slashCommandDispatch:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
2019-12-03 11:50:15 +01:00
with:
2020-05-25 10:15:16 +02:00
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
2020-01-03 06:37:39 +01:00
config: >
[
{
"command": "test",
"permission": "admin",
2020-01-04 13:44:01 +01:00
"repository": "peter-evans/create-pull-request-tests",
"named_args": true
2020-01-03 06:37:39 +01:00
},
{
"command": "clean",
"permission": "admin",
"repository": "peter-evans/create-pull-request-tests"
},
{
"command": "cpr-example",
"permission": "admin",
"issue_type": "issue"
2020-05-25 09:12:13 +02:00
},
{
"command": "rebase",
"permission": "admin",
"repository": "peter-evans/slash-command-dispatch-processor",
"issue_type": "pull-request"
2020-01-03 06:37:39 +01:00
}
]