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
gh actions - disable login to docker-hub if dependabot is the actor #3823
Milestone
Comments
pmauduit
added a commit
that referenced
this issue
Oct 28, 2022
pmauduit
added a commit
that referenced
this issue
Oct 31, 2022
…s-3823 cicd - skip docker-related steps when actor is dependabot (#3823)
pmauduit
added a commit
that referenced
this issue
Dec 9, 2022
Missing the backport to 22.0.x to comply with the milestone |
pmauduit
added a commit
that referenced
this issue
Dec 23, 2022
pmauduit
added a commit
that referenced
this issue
Dec 23, 2022
…abot-3823 Skip docker login if dependabot (#3823)
backported. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The CI will generally fail at the "login in to docker hub" step when triggered by dependabot, because it does not have access to the secrets from the repository. e.g.:
https://github.com/georchestra/georchestra/actions?query=branch%3Adependabot%2Fmaven%2Fmaster%2Fgt.version-26.4
we probably have to skip the steps related to sending a docker image when
github.actor == 'dependabot[bot]'
, relying on the documentation (https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions).The text was updated successfully, but these errors were encountered: