summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-11-08 09:11:08 +0800
committerGitHub <noreply@github.com>2024-11-08 09:11:08 +0800
commitad72ee6ff2f0077467ceeb1fa905a8ab4ef01ff5 (patch)
treedc6e2001825d33af88bda63882246fda429e61d1 /.github
parent462584dcf377936314bf76b22f5c6e3e13fc3995 (diff)
lower permission level for format dispatch (#5523)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/slash-command-dispatch.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/slash-command-dispatch.yml b/.github/workflows/slash-command-dispatch.yml
index dc66f19af..3d59498da 100644
--- a/.github/workflows/slash-command-dispatch.yml
+++ b/.github/workflows/slash-command-dispatch.yml
@@ -13,8 +13,14 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
reaction-token: ${{ secrets.SLANGBOT_PAT }}
issue-type: pull-request
- commands: |
- format
+ config: >
+ [
+ {
+ "command": "format",
+ "permission": "none",
+ "issue_type": "pull-request"
+ }
+ ]
- name: Edit comment with error message
if: steps.scd.outputs.error-message