2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-04 17:32:34 +08:00

DEV: Add extra permission to allow labeller to work in PRs (#33579)

Seeing the following in
https://github.com/discourse/discourse/actions/runs/16209614945/job/45767099809?pr=33577

```
The configuration file (path: .github/labeler.yml) was not found locally, fetching via the api
Error: HttpError: You do not have permission to create labels on this repository.: {"resource":"Repository","field":"label","code":"unauthorized"}
Error: You do not have permission to create labels on this repository.: {"resource":"Repository","field":"label","code":"unauthorized"}
```

Related: https://github.com/orgs/community/discussions/156181
This commit is contained in:
Natalie Tay 2025-07-11 15:02:54 +08:00 committed by GitHub
parent afc5d13c63
commit 6c95779712
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@ on:
permissions:
contents: read
pull-requests: write
issues: write # Needed for labeler to add labels to PRs: https://github.com/orgs/community/discussions/156181

jobs:
triage: