diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2023-09-13 04:24:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 04:24:43 (GMT) |
commit | df21fdc97357e8af50839a42ab69e3588db7f6df (patch) | |
tree | 1f8c0188391b37852e7064af4933c9d83d82c651 /.github/workflows | |
parent | 2a24328db55e10025aa7f8a148ca5b2a7f910655 (diff) | |
download | cpython-df21fdc97357e8af50839a42ab69e3588db7f6df.zip cpython-df21fdc97357e8af50839a42ab69e3588db7f6df.tar.gz cpython-df21fdc97357e8af50839a42ab69e3588db7f6df.tar.bz2 |
[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)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/require-pr-label.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml index 916bbeb..080204b 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 |