Improve repo health and release workflow#2
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9f13391311
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| push: | ||
| tags: | ||
| - "v*" | ||
| workflow_dispatch: |
There was a problem hiding this comment.
Gate manual releases on tag refs
With workflow_dispatch enabled, a maintainer can run this workflow from the default branch instead of a version tag. The softprops/action-gh-release action defaults tag_name to github.ref_name, so a manual run from main would try to create/update a release tagged main and attach artifacts built from that branch, bypassing the tag-driven release flow documented in docs/releasing.md. Add a tag input/guard or remove manual dispatch so manual runs cannot publish branch-named releases.
Useful? React with 👍 / 👎.
Summary
Verification