From 7d01ed7eb45c1122850add27e56c2a8b899cc718 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Wed, 26 Feb 2025 17:26:36 +0000 Subject: [PATCH] Limit check labels github action permission --- .github/workflows/require-pr-label.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml index 0a6277c779ff67..7e534c58c798d1 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: