Skip to content

fix(ci): harden release tag handling - #14

Merged
ngleanh merged 1 commit into
mainfrom
codex/harden-release-tag
Jul 27, 2026
Merged

fix(ci): harden release tag handling#14
ngleanh merged 1 commit into
mainfrom
codex/harden-release-tag

Conversation

@ngleanh

@ngleanh ngleanh commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Problem

The release workflow inserted the GitHub release tag directly into generated shell code. A command-substitution-shaped tag could therefore execute shell commands in OIDC-capable release jobs.

Why it matters

Release metadata must be treated as data, not shell source, before the package release pipeline is enabled.

Change

Pass the release tag through step environment variables and read those variables from the shell scripts.

Acceptance checks

  • npm run verify passes (175 tests)
  • git diff --check passes
  • fresh-context review returned Verdict: accept

@ngleanh
ngleanh merged commit 6bca7f9 into main Jul 27, 2026
2 checks passed
@ngleanh
ngleanh deleted the codex/harden-release-tag branch July 27, 2026 07:42
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