Skip to content

Commit df21fdc

Browse files
authored
[3.11] Update workflow permissions in require-pr-label Action (GH-109342) (#109354)
Change the permission from `read` to `write`.. (cherry picked from commit 44c8699)
1 parent 2a24328 commit df21fdc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/require-pr-label.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ on:
44
pull_request:
55
types: [opened, reopened, labeled, unlabeled, synchronize]
66

7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
711
jobs:
812
label:
913
name: DO-NOT-MERGE / unresolved review
1014
runs-on: ubuntu-latest
1115
timeout-minutes: 10
1216

1317
steps:
14-
- uses: mheap/github-action-required-labels@v4
18+
- uses: mheap/github-action-required-labels@v5
1519
with:
1620
mode: exactly
1721
count: 0

0 commit comments

Comments
 (0)