From d27ab7517cd934cf1a69634abe8187fe26ea7c94 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Tue, 19 Nov 2024 21:20:17 +0100 Subject: [PATCH] remove op from rights - op could spam and create a ton of new labels, or spam workflow to close, reopen and so one --- .github/workflows/issue-slash-commands.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-slash-commands.yaml b/.github/workflows/issue-slash-commands.yaml index a5d0e6fb..e8b36b4a 100644 --- a/.github/workflows/issue-slash-commands.yaml +++ b/.github/workflows/issue-slash-commands.yaml @@ -67,7 +67,7 @@ jobs: id: check_user if: env.command == 'true' run: | - ALLOWED_USERS=("ChrisTitusTech" "og-mrk" "Marterich" "MyDrift-user" "Real-MullaC" "CodingWonders" "${{ github.event.issue.user.login }}") + ALLOWED_USERS=("ChrisTitusTech" "og-mrk" "Marterich" "MyDrift-user" "Real-MullaC" "CodingWonders") if [[ " ${ALLOWED_USERS[@]} " =~ " ${{ github.event.comment.user.login }} " ]]; then echo "user=true" >> $GITHUB_ENV else