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:
parent
afc5d13c63
commit
6c95779712
1 changed files with 1 additions and 0 deletions
1
.github/workflows/labeler.yml
vendored
1
.github/workflows/labeler.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue