-
Notifications
You must be signed in to change notification settings - Fork 409
30 lines (29 loc) · 1.11 KB
/
slash-cmd-dispatch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Slash Command Dispatch
on:
issue_comment:
types: [created]
jobs:
slash-command-dispatch:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
uses: peter-evans/[email protected]
with:
token: ${{ secrets.PAT_GHOST }}
reaction-token: ${{ secrets.PAT_GHOST }}
# these commands belo need to be listed in particular workflows under:
# on:
# repository_dispatch:
# types: [<CMD>-command, ...]
# NOTE: when added new command pls update also help
commands: |
rebase
help
# permission field sets the repository permission level required by the user to dispatch commands.
# It expects one of the five repository permission levels, or none. From the least to greatest
# permission level they are none, read, triage, write, maintain and admin.
permission: write
# The issue type required for commands. (issue, pull-request, both)
issue-type: pull-request
reactions: true
allow-edits: false