-
Notifications
You must be signed in to change notification settings - Fork 245
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
Pronto GH action does not work for bot PRs #406
Comments
We also have this issue. It requires us to restart the workflow which then passes. This is quite annoying since we require linting to pass before merging and this uses up 2 workflow runs to get it to pass. |
Here is the error 403 - Resource not accessible by integration // See: https://docs.github.com/rest/reference/repos#create-a-commit-status (Octokit::Forbidden) And it looks like this is the reason why: |
Wiki updated checkout :- https://github.com/prontolabs/pronto/wiki/GitHub-Actions-Integration |
Hi ! 👋🏻
First of all, thank you for this amazing tool.
We have integrated it in our workflow using a Github Action to lint our RoR codebase following the wiki. However this action fails systematically for PRs opened by bots, for example dependabot.
We have found a workaround to avoid running this action whenever that is the case :
if: ${{ !contains(github.actor, '[bot]') }}
This could potentially be useful to anyone wanting to integrate Pronto in a GH action. WDYT about adding this to the wiki ? I'd be happy to do it !
The text was updated successfully, but these errors were encountered: