Skip to content

Commit

Permalink
fix: improve labeler workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
snuffkin committed Dec 16, 2024
1 parent d4ef9c9 commit 09b4fd8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
jobs:
labeler:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -67,7 +72,7 @@ jobs:
- name: Add labels to PR
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
labels: ${{ steps.set-labels.outputs.labels }}

- name: Assign PR creator
Expand Down

0 comments on commit 09b4fd8

Please sign in to comment.