Skip to content

ci: automate action releases - #26

Open
chaptersix wants to merge 5 commits into
mainfrom
automate-action-releases
Open

ci: automate action releases#26
chaptersix wants to merge 5 commits into
mainfrom
automate-action-releases

Conversation

@chaptersix

@chaptersix chaptersix commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a manually dispatched release workflow that runs only from main, publishes an immutable semantic release, and advances the compatible major tag
  • make release publication retry-safe: an existing immutable tag is accepted only when it resolves to the dispatched commit, and an existing GitHub Release is reused
  • use the Temporal Data Git identity for annotated release tags
  • extract bundle freshness, linting, formatting, and Linux/macOS/Windows action smoke tests into a reusable workflow shared by Validate and Release
  • add a maintainer release guide and link it from the README
  • retain @actions/tool-cache v2 until the dependency-update PR can move the generated bundle to ESM safely

Validation

  • npm ci
  • npm run lint
  • npm run format:check
  • npm run build with no dist/setup-temporal diff
  • YAML parsing for the workflow files
  • git diff --check

Stack

Base PR. Merge this first.

Restore the last tool-cache version compatible with the current ncc bundle so the generated-artifact check can rebuild the action.
@chaptersix
chaptersix marked this pull request as ready for review August 13, 2026 22:56

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/release.yml Outdated
@chaptersix
chaptersix requested a review from a team as a code owner August 13, 2026 23:19
Comment thread .github/workflows/verify.yml Outdated
Comment thread .github/workflows/verify.yml Outdated
@chaptersix

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +99 to +101
if ! gh release view "$VERSION" >/dev/null 2>&1; then
gh release create "$VERSION" --title "$VERSION" --generate-notes
fi

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant