-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add gh release create
to the publishing workflow
#3597
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
Conversation
Thank you! What does zizmor thinks about the new YAML code? |
It reports the same error which existed before for
I used default environment variables to fix the error |
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.
Thanks! It's unclear to me whether this new version is safe or just not parsed by zizmor. In any case, we should use quotes, which is what shellcheck would suggest. After that, LGTM!
Replacing with environment variables is suggested by zizmor docs |
Co-authored-by: Quentin Pradet <quentin.pradet@gmail.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.
Thanks! LGTM.
Closes #3590
Here I add a missing command because of which the last release job failed.
Since we always change releases manually to add release notes, I added a
--draft
flag to the command so that the release is visible to users only after we add the release notes. Let me know if you are OK with this.I tested the command by creating a release draft in my fork from my laptop, uploading a file to the created draft worked well too.