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
feat(github-actions): support ratchet comments #27846
feat(github-actions): support ratchet comments #27846
Conversation
Co-authored-by: HonkingGoose <34918129+HonkingGoose@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.
I'm happy with the docs, I'll let the maintainers do the code review.
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.
Maybe we should let @TWiStErRob review the regex too.
🎉 This PR is included in version 37.239.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This means that Renovate will: | ||
|
||
- update the version of a _pinned_ Ratchet version if needed | ||
- not delete Ratchet comments after parsing them |
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.
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.
@art-shutter and @rarkins can you check this review comment?
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.
@mkurde please open a new discussion and reference this pr
Changes
This adds support for comments format used by
ratchet
tool.Context
The
ratchet
tool is a locally run tool that helps update github workflows dependencies locally. This is especially useful in monorepos containing several separately-versioned github actions / workflows. As aratchet
user I would like to keep the functionality ratchet is offering me and combine it withrenovate
. This PR makes sure the desired pin is extracted fromratchet
comments and thatratchet
comments don't get deleted by renovate, including theratchet:exclude
comments.Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: