-
Notifications
You must be signed in to change notification settings - Fork 49
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
github: fix automated tag release action #4755
Conversation
Problem: The GitHub auto-release action has an incorrect key in the workflow yaml, and also includes a step that doesn't do anything. Rename the 'release_name' key to just 'name', and remove the prep release step which is no longer necessary.
Problem: In commit 286df0a the softprops/actions-gh-release was pinned to a "newer" release by git hash, but this project seems to move the v1 tag to the latest release in the v1.x series, so the version was actually downgraded. This came with some bugs that have been fixed. Revert the softprops/action-gh-release version to @v1.
@vsoch: you might want to check the "latest version" for |
Thanks will take a look! This PR looks okay otherwise! |
@grondo the reason for this is that we only "trust" major versions (akin to v1) for the list of trusted repos (e.g,. github maintained like actions/checkout) and for untrusted, we require a semantic version. So the tool was honoring that preference here, and if we ran again we would just add this particular repository to be under trusted. |
I get it, that makes sense! |
Codecov Report
@@ Coverage Diff @@
## master #4755 +/- ##
==========================================
+ Coverage 80.06% 83.41% +3.34%
==========================================
Files 414 414
Lines 69583 70011 +428
==========================================
+ Hits 55712 58397 +2685
+ Misses 13871 11614 -2257
|
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.
Wasn't clear if you were ready to merge this but FWIW LGTM.
Thanks, I've set MWP. |
This fixes the github workflow that does our auto-release on tags. There was an incorrect key used in the yaml, and also step that wasn't necessary anymore. Also, "upgrades" the softprops/action-gh-release action which was inadvertently downgraded by a recent commit.
Fixes #4751 (though we really won't know until the next tag)