-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add hint to needed permissions to write labels #184
Comments
Worked for me as well. This is the relevant documentation: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions This is my working action: https://github.com/KyleKing/calcipy_template/blob/3392412f1c14d8bf809e32a9f46551c9556078a5/.ctt/default/.github/workflows/labeler.yml |
I had what I believe is the same issue, although when I set permissions:
contents: read
issues: write |
As per crazy-max/ghaction-github-labeler#184, labeler requires permission to write to issues to work properly.
As per crazy-max/ghaction-github-labeler#184, labeler requires permission to write to issues to work properly.
As per crazy-max/ghaction-github-labeler#184, labeler requires permission to write to issues to work properly.
As per crazy-max/ghaction-github-labeler#184, labeler requires permission to write to issues to work properly.
Hi, this is more a question/suggestion than an issue :)
In my newest repo the default permission for the GITHUB_TOKEN is restrictive (don't know if the default for that changed in the nearer past). That given it was not sufficient to use this token like in your README:
Instead I needed to add dedicated permissions to the job like so:
Can you confirm that? And might it be senseful to add a block into the readme section for that case?
KR
The text was updated successfully, but these errors were encountered: