Run slavcodev/coverage-monitor-action@1.2.0 Error: Resource not accessible by integration
DeepDiver1975 opened this issue · comments
Details
On PRs which are submitted by the dependabot this action fails with
Run slavcodev/coverage-monitor-action@1.2.0
Error: Resource not accessible by integration
On a manual rerun the action work as designed and desired
Is that an issue in this action or in my setup? THX a lot!
Same problem here. I 'fixed' it by disabling this action on PR's from dependabot, since the code coverage shouldn't change when updating dependencies. (or am I wrong?)
- name: Monitor coverage
uses: slavcodev/coverage-monitor-action@1.2.0
if: github.event_name == 'pull_request' && ! contains(github.event.pull_request.labels.*.name, 'dependencies')
Same problem here, my fix was based on the solution of the @stephanvierkant
- name: Cobertura de testes
uses: slavcodev/coverage-monitor-action@1.2.0
if: github.event_name == 'pull_request' && ! contains(github.event.pull_request.user.login, 'dependabot[bot]')
Hello everyone.
The issue seems to be related to GITHUB_TOKEN
permissions, there is the documentation
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
There is even a note about Dependabot
.
I'll close this, feel free to re-open if there is more I can do this issue.
Thank for the report and apologize for late answer, I've forgot about this repository.