Description:
The labeler action has just started failing with:
HttpError: You do not have permission to create labels on this repository.: {"resource":"Repository","field":"label","code":"unauthorized"}
Up until just now (May 14, 2025), the following workflow was working fine (see runs):
name: PR Labeler
on:
pull_request_target:
types: [opened, synchronize]
jobs:
label:
name: Add PR labels
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: actions/labeler@v5
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
sync-labels: true
Action version:
v5
Platform:
Runner type:
Repro steps:
See PR code-pushup/cli#1006 with failing workflow.
Expected behavior:
Action should have permission to create labels, since the built-in GITHUB_TOKEN secret is being used and pull-requests: write permissions are configured.
Actual behavior:
Workflow fails with permissions error:

Description:
The labeler action has just started failing with:
Up until just now (May 14, 2025), the following workflow was working fine (see runs):
Action version:
v5
Platform:
Runner type:
Repro steps:
See PR code-pushup/cli#1006 with failing workflow.
Expected behavior:
Action should have permission to create labels, since the built-in
GITHUB_TOKENsecret is being used andpull-requests: writepermissions are configured.Actual behavior:
Workflow fails with permissions error: