diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-11-08 09:11:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-08 09:11:08 +0800 |
| commit | ad72ee6ff2f0077467ceeb1fa905a8ab4ef01ff5 (patch) | |
| tree | dc6e2001825d33af88bda63882246fda429e61d1 /.github | |
| parent | 462584dcf377936314bf76b22f5c6e3e13fc3995 (diff) | |
lower permission level for format dispatch (#5523)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/slash-command-dispatch.yml | 10 |
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 |
