From ad72ee6ff2f0077467ceeb1fa905a8ab4ef01ff5 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Fri, 8 Nov 2024 09:11:08 +0800 Subject: lower permission level for format dispatch (#5523) --- .github/workflows/slash-command-dispatch.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.github') 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 -- cgit v1.2.3