Skip to content

Commit f02fa3a

Browse files
committed
lower permission level for format dispatch
1 parent 462584d commit f02fa3a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/slash-command-dispatch.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@ jobs:
1313
token: ${{ secrets.GITHUB_TOKEN }}
1414
reaction-token: ${{ secrets.SLANGBOT_PAT }}
1515
issue-type: pull-request
16-
commands: |
17-
format
16+
config: >
17+
[
18+
{
19+
"command": "format",
20+
"permission": "none",
21+
"issue_type": "pull-request",
22+
}
23+
]
1824
1925
- name: Edit comment with error message
2026
if: steps.scd.outputs.error-message

0 commit comments

Comments
 (0)