From: shenxianpeng Date: Wed, 26 Feb 2025 20:47:41 +0000 (+0800) Subject: gh-127785: Reduce permissions in the `check labels` workflow (#130596) X-Git-Tag: v3.14.0a6~245 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ba69e747fa9da984a307b2cbc9f82bac1e0db04;p=thirdparty%2FPython%2Fcpython.git gh-127785: Reduce permissions in the `check labels` workflow (#130596) --- diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml index 0a6277c779ff..7e534c58c798 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: @@ -28,8 +27,7 @@ jobs: if: github.repository_owner == 'python' runs-on: ubuntu-latest permissions: - issues: write - pull-requests: write + pull-requests: read timeout-minutes: 10 steps: