You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for this tool! I've been looking for something exactly like this.
frizbee overlaps nicely with CI-side workflow updaters, like Dependabot. Dependabot supports version comments next to each hash-pinned workflow per dependabot/dependabot-core#4691, like so:
uses: example/example@longhash # v1.2.3
When Dependabot bumps longhash, it also rewrites the version comment to match the git tag for the new hash:
uses: example/example@newhash # v1.2.4
It would be awesome if frizbee could generate these version comments, so that Dependabot (et al.) could use them.
Solution Proposal
My proposal: frizbee actions ... should support generating a version comment next to each workflow reference that it transformed into a fully hashed reference.
NB: This requires editing YAML comments, which is a significant pain. So I understand not wanting to undertake implementing this, especially since it constrains the tool's ability to round-trip through a normal YAML parser 🙂
Please describe the enhancement
First of all, thanks for this tool! I've been looking for something exactly like this.
frizbee
overlaps nicely with CI-side workflow updaters, like Dependabot. Dependabot supports version comments next to each hash-pinned workflow per dependabot/dependabot-core#4691, like so:When Dependabot bumps
longhash
, it also rewrites the version comment to match thegit
tag for the new hash:It would be awesome if
frizbee
could generate these version comments, so that Dependabot (et al.) could use them.Solution Proposal
My proposal:
frizbee actions ...
should support generating a version comment next to each workflow reference that it transformed into a fully hashed reference.Example input:
Example output, with this new feature:
This would be a behavioral change from the current default, so it might make sense to keep it behind a
--add-version-comments
(or similar) option.Describe alternatives you've considered
The main alternative is to do nothing 🙂 -- Dependabot and other tools work fine without the comment; it's mostly there for human comprehension.
Additional context
As mentioned above, dependabot/dependabot-core#4691 is the original Dependabot tracker for this feature.
This version comment idiom also appears in OpenSSF's Scorecard and elsewhere.
Acceptance Criteria
frizbee actions
adds version comments while hash-pinning workflows!The text was updated successfully, but these errors were encountered: