Skip to content
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

Closed
pmauduit opened this issue Oct 7, 2022 · 2 comments
Closed
Milestone

Comments

@pmauduit
Copy link
Member

pmauduit commented Oct 7, 2022

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).

@pmauduit
Copy link
Member Author

pmauduit commented 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
…abot-3823

Skip docker login if dependabot (#3823)
@pmauduit
Copy link
Member Author

backported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants