From 0c0a1f20420e9804ec24ffb65e92801fdf54633c Mon Sep 17 00:00:00 2001 From: waylon <1158341873@qq.com> Date: Fri, 6 Sep 2024 20:57:48 +0800 Subject: [PATCH] feat: add label-pr action --story=119540612 --- .github/workflows/label-pr.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml index 2eb8294..211af94 100644 --- a/.github/workflows/label-pr.yml +++ b/.github/workflows/label-pr.yml @@ -8,11 +8,7 @@ jobs: label-pr: runs-on: ubuntu-latest - permissions: - repository-projects: read - checks: read - pull-requests: write - statuses: read + permissions: write-all steps: - name: Checkout repository @@ -29,4 +25,4 @@ jobs: echo "No label with this title: $PR_TITLE" fi env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file