From e280c493f18c219e2971fbe18040150bb2c54e1a Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Thu, 27 Feb 2025 22:47:41 +0800 Subject: [PATCH] [3.12] gh-127785: Limit check labels github action permission (GH-130596) (#130625) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- .github/workflows/require-pr-label.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml index ee91e2a39a19..d7c2580d4e08 100644 --- a/.github/workflows/require-pr-label.yml +++ b/.github/workflows/require-pr-label.yml @@ -10,8 +10,7 @@ jobs: if: github.repository_owner == 'python' runs-on: ubuntu-latest permissions: - issues: write - pull-requests: write + pull-requests: read timeout-minutes: 10 steps: -- 2.47.3