-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
[warning]Resource not accessible by integration
when running against PRs
#29
Comments
I have the same problem, and the action does not assign any reviewer/assignees. Any help would be appreciated. |
I found the solution for this, you need to use |
See https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target which explains why this way the action has all the necessary permissions. Fixes kentaro-m#29
I got the same issue. The yml I used is:
|
permissions needed:
|
Given the following workflow:
And the following
auto_assign.yml
:I see the following output when running this action against all PRs
I'm not quite sure what I've got wrong. You can see the directory structure at https://github.com/vmware-tanzu/velero/tree/main/.github
I was also seeing this behavior without the
GITHUB_TOKEN
, and added it thinking that would give the action access to act on the repository.The text was updated successfully, but these errors were encountered: