-
Notifications
You must be signed in to change notification settings - Fork 32
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
Resource not accessible by integration #49
Comments
This error also happens for PRs created by dependabot. Based on issue created by GitHub bot this, it seems that I couldn't find anything related to granting custom permissions for dependabot for the repo:
Please let me know if you find a solution for dependabot, but currently i used following workaround to disable it for dependabot PRs: - name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@v2
+ if: ${{ github.actor != 'dependabot[bot]' }} # dependabot doesn't have permissions |
@atsu85 @Ridermansb this is a permission error with
For security reasons I would not encourage trying to bypass this. You might be able to use the You could still have the ESLint step prior run and fail if there are linting errors, there just won't be annotation |
Gettings this error
running
eslint --ext .ts,.tsx --output-file eslint_report.json --format json .
with this GH action
The text was updated successfully, but these errors were encountered: