diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index b757870..32490b1 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -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 @@ -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