From 321af771343a5d37a84dfa5195e8d9401928b980 Mon Sep 17 00:00:00 2001 From: Mariatta Date: Tue, 12 Sep 2023 12:03:55 -0700 Subject: [PATCH] [3.11] Update workflow permissions in require-pr-label Action (GH-109342) Change the permission from `read` to `write`.. (cherry picked from commit 44c8699196c1951037bc549c895ea5af26c7254e) Co-authored-by: Mariatta --- .github/workflows/require-pr-label.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml index 916bbeb4352734..080204bcfd3b94 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