From: Mariatta Date: Wed, 13 Sep 2023 04:24:43 +0000 (-0700) Subject: [3.11] Update workflow permissions in require-pr-label Action (GH-109342) (#109354) X-Git-Tag: v3.11.6~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df21fdc97357e8af50839a42ab69e3588db7f6df;p=thirdparty%2FPython%2Fcpython.git [3.11] Update workflow permissions in require-pr-label Action (GH-109342) (#109354) Change the permission from `read` to `write`.. (cherry picked from commit 44c8699196c1951037bc549c895ea5af26c7254e) --- diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml index 916bbeb43527..080204bcfd3b 100644 --- a/.github/workflows/require-pr-label.yml +++ b/.github/workflows/require-pr-label.yml @@ -4,6 +4,10 @@ on: pull_request: types: [opened, reopened, labeled, unlabeled, synchronize] +permissions: + issues: write + pull-requests: write + jobs: label: name: DO-NOT-MERGE / unresolved review @@ -11,7 +15,7 @@ jobs: timeout-minutes: 10 steps: - - uses: mheap/github-action-required-labels@v4 + - uses: mheap/github-action-required-labels@v5 with: mode: exactly count: 0