ci: automate action releases - #26
Conversation
Restore the last tool-cache version compatible with the current ncc bundle so the generated-artifact check can rebuild the action.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 939173faf6
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4c0af99486
ℹ️ 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".
| if ! gh release view "$VERSION" >/dev/null 2>&1; then | ||
| gh release create "$VERSION" --title "$VERSION" --generate-notes | ||
| fi |
There was a problem hiding this comment.
Publish an existing draft before advancing the major tag
When a draft release already exists for $VERSION, gh release view succeeds, so this branch skips creation and the workflow advances the compatible major tag and finishes successfully even though no published immutable release exists. I checked gh 2.96.0: gh release view --help exposes the isDraft field, gh release create --help states that immutability applies only after publication, and gh release edit --help documents --draft=false for publishing an existing draft. Inspect the existing release state and publish or reject drafts before moving the major tag.
Useful? React with 👍 / 👎.
Summary
main, publishes an immutable semantic release, and advances the compatible major tag@actions/tool-cachev2 until the dependency-update PR can move the generated bundle to ESM safelyValidation
npm cinpm run lintnpm run format:checknpm run buildwith nodist/setup-temporaldiffgit diff --checkStack
Base PR. Merge this first.