forked from Project-MONAI/MONAI
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 927 Bytes
/
chatops.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
31
32
name: chatops
# currently dispatches /black command to project-monai/monai-code-formatter
on:
issue_comment:
types: [created, edited]
jobs:
dispatch_command:
runs-on: ubuntu-latest
steps:
- name: dispatch
uses: peter-evans/[email protected]
with:
token: ${{ secrets.PR_MAINTAIN }}
reaction-token: ${{ secrets.GITHUB_TOKEN }}
reactions: false
config: >
[
{
"command": "black",
"permission": "none",
"issue_type": "pull-request",
"allow_edits": true,
"repository": "project-monai/monai-code-formatter"
},
{
"command": "integration-test",
"permission": "none",
"issue_type": "pull-request",
"allow_edits": true
}
]