Skip to content

Commit

Permalink
fix(label): switch from github token to github PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Mar 8, 2024
1 parent 64d64f4 commit 68a3cd6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
matrix:
repo: ${{ fromJson(needs.get-repos.outputs.repos) }}
fail-fast: false
permissions:
issues: write
pull-requests: write
repository-projects: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -41,5 +37,5 @@ jobs:
npm i -g github-label-sync
github-label-sync -l ./labels.yml "$LABEL_REPOSITORY"
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACCESS_TOKEN: ${{ secrets.GH_PAT }}
LABEL_REPOSITORY: ${{ matrix.repo.full_name }}

0 comments on commit 68a3cd6

Please sign in to comment.