Skip to content

Commit

Permalink
feat: add label-pr action --story=119540612
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls committed Sep 6, 2024
1 parent a590ded commit 0c0a1f2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,4 +25,4 @@ jobs:
echo "No label with this title: $PR_TITLE"
fi
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0c0a1f2

Please sign in to comment.