starter-workflow template gives `Resource not accessible by integration`
See original GitHub issueHi there,
I’ve implemented the exact Labeler workflow as the starter-workflow template in the dir path .github/workflows/label.yml
.
I have also added the .github/labeler.yml
file with the configuration below:
Trader: packages/trader/**/*
Bot: packages/bot/**/*
Core: packages/core/**/*
Components: packages/components/**/*
Shared: packages/shared/**/*
The action is recognised and runs on PR, however the Labeler action resolves with the following error:
##[error]HttpError: Resource not accessible by integration
##[error]Resource not accessible by integration
##[error]Node run failed with exit code 1
Googling seems to relate that error with invalid access to the repo by the action app, so I thought I’d create an issue and disable the action for now, but would be happy to know if there’s something I have missed out that will be able to solve this issue for me.
Thanks.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:45
- Comments:80 (21 by maintainers)
Top Results From Across the Web
"Resource not accessible by integration" on github post /repos ...
I explicitly assigned allowed all permissions in the workflow but it still doesn't work. Permissions for GH Token are also set to read/write....
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 >Changing path based labels to use Github Actions - Development ...
An example of how it looks like: github.com/ekohl/community-templates ... Issue: starter-workflow template gives `Resource not accessible by integration`.
Read more >Deploying to OpenShift using GitHub Actions
The OpenShift starter workflow uses the Red Hat GitHub Actions to help you get an application up and running by providing a workflow...
Read more >Create a CI/CD pipeline for Amazon ECS with GitHub Actions ...
It also integrates with other core AWS services, such as Amazon ... to perform integration tests with components that are not reachable ......
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 FreeTop 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
Top GitHub Comments
What is the end solution?
tl;dr, change
to
GitHub has introduced a new event type:
pull_request_target
, which allows to run workflows from base branch and pass a token with write permission.