Caught error trying to update branch: Resource not accessible by integration
See original GitHub issueHey. We were trying out the action in our project and it doesn’t update the branch in PR (which belongs to a forked project) whenever a commit gets pushed to the repository.
I see the following error in the Actions
tab
Handling push event on ref 'refs/heads/master'
PR-425
Evaluating pull request #425...
PR_FILTER=all, checking if this PR's branch needs to be updated.
All checks pass and PR branch is behind base branch.
Updating branch 'testing' on pull request #425 with changes from ref 'master'.
Attempting branch update...
##[error]Caught error trying to update branch: Resource not accessible by integration
Branch update failed, will retry in 300ms, retry #0 of 5.
Attempting branch update...
##[error]Caught error trying to update branch: Resource not accessible by integration
Branch update failed, will retry in 300ms, retry #1 of 5.
Attempting branch update...
##[error]Caught error trying to update branch: Resource not accessible by integration
Branch update failed, will retry in 300ms, retry #2 of 5.
Attempting branch update...
##[error]Caught error trying to update branch: Resource not accessible by integration
Branch update failed, will retry in 300ms, retry #3 of 5.
Attempting branch update...
##[error]Caught error trying to update branch: Resource not accessible by integration
Branch update failed, will retry in 300ms, retry #4 of 5.
Attempting branch update...
##[error]Caught error trying to update branch: Resource not accessible by integration
##[error]Resource not accessible by integration
We are using the default yml config as mentioned in the documentation
Is this a limitation of this Github Action? Any help is really appreciated. Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
"Resource not accessible by integration" · Issue #10 - GitHub
Ok, github needs to fix this. I'm facing the same thing while trying to create an action.
Read more >"Resource not accessible by integration" on github post /repos ...
The first one is the one suggested by freenky , updating the GITHUB_TOKEN permissions in the workflow run using the permissions field in...
Read more >Debug "Resource not accessible by integration" error when ...
This error basically talks about a permission issue. When working with Github apps, you may not have set the necessary permission to access...
Read more >Resource not accessible by integration - GoReleaser
Let's see, for example, how it would look like for Homebrew Taps. We would need to change the workflow file: # .github/workflows/goreleaser.yaml ...
Read more >Deploy to live & preview channels via GitHub pull requests
You can integrate deploys to Firebase Hosting via a GitHub Action. Here's what this GitHub Action can do for you: Creates a new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @RishabhJain2018, autoupdate doesn’t currently support the
schedule
event. I’ll create a new issue for it and we’ll look into it soon.Hey @chinthakagodawita , I was trying to use![image](https://user-images.githubusercontent.com/12206047/113513138-17807800-9536-11eb-87d5-7fa84db6f3b6.png)
schedule
in the config and received this error –Am I missing something? Here is the config – https://github.com/Cloud-CV/EvalAI/blob/master/.github/workflows/autoupdate.yaml