[Python-checkins] require-pr-label.yml: Add missing "permissions:" (#104309)

hugovk webhook-mailer at python.org
Tue May 9 06:29:10 EDT 2023


https://github.com/python/cpython/commit/41aff464cef83d2655029ddd180a51110e8d7f8e
commit: 41aff464cef83d2655029ddd180a51110e8d7f8e
branch: main
author: Sebastian Pipping <sebastian at pipping.org>
committer: hugovk <hugovk at users.noreply.github.com>
date: 2023-05-09T13:29:00+03:00
summary:

require-pr-label.yml: Add missing "permissions:" (#104309)

files:
M .github/workflows/require-pr-label.yml

diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml
index 916bbeb43527..88aaea039f04 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: read
+  pull-requests: read
+
 jobs:
   label:
     name: DO-NOT-MERGE / unresolved review



More information about the Python-checkins mailing list