-
Notifications
You must be signed in to change notification settings - Fork 8
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
Auto update dist for renovate #67
Conversation
update-dist-for-renovate: | ||
FROM alpine/git | ||
RUN git config --global user.name "renovate[bot]" && \ | ||
git config --global user.email "renovate[bot]@users.noreply.github.com" && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol..... I guess this is the reason PGP commit signing exists :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For context - the only reason to do this is because by default when pushing changes to a Renovate branch, it decides to abandon the branch so it doesn't get updated.
For example, by default, if a PR is opened in order to update some dependency from v1.0.0 to v1.0.1 and while the PR stays open, v1.0.2 becomes available, Renovate will update the PR to try to update to the latest available version. So using the user name and email lets Renovate continue managing it.
Once Renovate updates a dependency we need to get the dist directory updated and checked in to the branch.
This PR defines a new target and gh workflow that will update dist and push it to the renovate branch