Skip to content

docs: Update document to include issues permission #867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

metarsit
Copy link

@metarsit metarsit commented May 1, 2025

Description:

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"}

Ran into this error, it seems that we have mission permission that's needed for the labeler to work.

Therefore, including the extra permission into the README.md so no one has to go through what I did. 😆

Related issue:
https://github.com/orgs/community/discussions/156181

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@metarsit metarsit requested a review from a team as a code owner May 1, 2025 11:00
@phun-ky
Copy link

phun-ky commented May 2, 2025

Yeah, I ran into the same thing, but odd that you need issue permission to write to write labels to a PR. furthermore, I have two identical repositories, with seemingly identical workflows, but the latest repository fails, but the older one does not. All settings are checked, and all tokens are verified:

works: https://github.com/phun-ky/typeof/actions/runs/14731948751
does not work: https://github.com/phun-ky/eslint-config/actions/runs/14795721253

@CommanderRedYT
Copy link

I have experienced the same thing, but even with the issues permission it does not work for me: https://github.com/deppenpfostierung/bicycle-led-software/actions/runs/14823033959/job/41612578804

@phun-ky
Copy link

phun-ky commented May 13, 2025

Any input from the author on this?

@McGeerDev
Copy link

This resolved the permission issues for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants