You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm posting this in the "Actions" category, but it may be related to API as well.
Hey folks, I'm currently having an issue with token permissions, and I can't figure out the problem...
I maintain an action that updates repo labels, and a user of mine has reported that their workflow fails due to the token not having sufficient permissions, but I can't reproduce the issue.
Their repo and mine have:
The same exact workflow
The same Actions permissions ("Allow all actions and reusable workflows")
When I run the workflow in my test repo, everything goes fine, but the user has reported that their API request is being rejected with a 403 Resource not accessible by integration error, as if the token didn't have enough permissions.
BugSomething isn't working correctlyActionsBuild, test, and automate your deployment pipeline with world-class CI/CD
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Bug
Body
Hey folks, I'm currently having an issue with token permissions, and I can't figure out the problem...
I maintain an action that updates repo labels, and a user of mine has reported that their workflow fails due to the token not having sufficient permissions, but I can't reproduce the issue.
Their repo and mine have:
In the workflow, we're both setting:
The action calls this endpoint of the REST API:
POST /repos/{owner}/{repo}/issues/{issue_number}/labels
.When I run the workflow in my test repo, everything goes fine, but the user has reported that their API request is being rejected with a
403 Resource not accessible by integration
error, as if the token didn't have enough permissions.Am I missing something?
Related links:
Issue on my action: Clarify required permissions EndBug/label-sync#187
Failing workflow run: https://github.com/danielwerg/r6api.js/actions/runs/5609649603/job/15198476209
In case it expires:
Run logs
Workflow file
Successful run on my repo: https://github.com/EndBug/labels-test/actions/runs/5609905279/job/15198397252
cc @danielwerg
Beta Was this translation helpful? Give feedback.
All reactions