Github Actions + CLI -> Error: Resource not accessible by integration (organization.teams) #113519
Replies: 7 comments
-
I think the issue is that |
Beta Was this translation helpful? Give feedback.
-
I also just came across this trying to do the same thing, although I am trying to tag a team not an individual. Have you come across any workarounds or fixes? |
Beta Was this translation helpful? Give feedback.
-
Is there any workaround solution? |
Beta Was this translation helpful? Give feedback.
-
I ended up doing a direct API call using this helper for authentication
|
Beta Was this translation helpful? Give feedback.
-
Ufff, the same issue with scopes |
Beta Was this translation helpful? Give feedback.
-
Running into this issue as well |
Beta Was this translation helpful? Give feedback.
-
You can use https://github.com/actions/create-github-app-token/tree/v1/ Action to create token with necessary rights and do something like this
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I'm preparing a workflow which will assign a reviewer to dependabot PRs, using Github CLI.
Whenever action will get to the point of
gh pr edit $pr_number --add-reviewer $next_person --remove-reviewer $reviewer_login
it fails with:reviewers are individual users - within organization, not teams
If I change permissions to:
it fails with
On the repository actions configuration level:
Is it a bug? What else I need to make it work if
permissions: write-all
is not enough?Beta Was this translation helpful? Give feedback.
All reactions