mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-06-25 13:46:15 +00:00
Add rebase slash command
This commit is contained in:
22
.github/workflows/slash-command-dispatch.yml
vendored
Normal file
22
.github/workflows/slash-command-dispatch.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
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@v1
|
||||
with:
|
||||
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
|
||||
reaction-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
config: >
|
||||
[
|
||||
{
|
||||
"command": "rebase",
|
||||
"permission": "admin",
|
||||
"repository": "peter-evans/slash-command-dispatch-processor",
|
||||
"issue_type": "pull-request"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user