Skip to content

ci: automate release tag dispatch - #5

Merged
sdsrss merged 1 commit into
mainfrom
agent/automate-release-tag
Jul 30, 2026
Merged

ci: automate release tag dispatch#5
sdsrss merged 1 commit into
mainfrom
agent/automate-release-tag

Conversation

@sdsrss

@sdsrss sdsrss commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a trusted post-merge workflow that detects a stable package version increase
  • create or exactly verify an annotated v<version> tag at the integrated commit
  • dispatch the existing Release workflow with the tag as ref while preserving direct tag-push compatibility

Security and release behavior

  • the privileged job uses only contents: write and actions: write
  • it reads repository files through the GitHub API and never checks out or executes pull-request code
  • unchanged versions are a no-op; downgrades, non-stable versions, and conflicting tags fail before ref mutation
  • this PR does not change package.json, so merging it must not create a tag or start npm publication

Validation

  • node scripts/tests/workflow-static.test.js — 8 passed, 0 failed
  • node scripts/tests/distribution.test.js — 46 passed, 0 failed
  • node scripts/lint-argv.js --json[]
  • workflow YAML parsed with PyYAML 6.0.1
  • npm pack --dry-run --json — 137 files
  • npm run check — exit 0, including phase 4 and ShellCheck
  • live guard confirmed /home/sds/.codex was unchanged

@sdsrss
sdsrss marked this pull request as ready for review July 30, 2026 08:31
@sdsrss
sdsrss merged commit f5171b6 into main Jul 30, 2026
18 checks passed
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