Skip to content

ci: unreleased changes check + tag safety in release workflow#66

Merged
jpr5 merged 2 commits intomainfrom
ci/unreleased-check
Mar 31, 2026
Merged

ci: unreleased changes check + tag safety in release workflow#66
jpr5 merged 2 commits intomainfrom
ci/unreleased-check

Conversation

@jpr5
Copy link
Copy Markdown
Contributor

@jpr5 jpr5 commented Mar 31, 2026

Summary

Two CI improvements to prevent the v1.6.0 → v1.6.1 gap from happening again.

1. Unreleased changes check (unreleased-check.yml)

Runs on every push to main. Compares HEAD against the latest version tag and emits a ::warning annotation when source commits exist without a version bump. Skips gracefully when the tag doesn't exist yet (i.e., the push IS the release).

2. Tag safety in release workflow (publish-release.yml)

  • Explicit git tag + git push origin <tag> step before gh release create
  • --verify-tag flag on gh release create for belt-and-suspenders safety
  • Outputs version for reuse across steps

Also going forward

Release commits must use chore: release vX.Y.Z format to pass commitlint. Always create a branch first, never commit directly to main.

Warns when source commits accumulate on main without a version bump,
preventing fixes from sitting unreleased like the v1.6.0 → v1.6.1 gap.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Mar 31, 2026

Open in StackBlitz

npm i https://pkg.pr.new/CopilotKit/llmock/@copilotkit/llmock@66

commit: 9d98972

Adds explicit git tag creation step before gh release create, so tags
exist even if the release step fails partway. Also passes --verify-tag
to gh release create for safety.
@jpr5 jpr5 changed the title ci: add unreleased changes check on push to main ci: unreleased changes check + tag safety in release workflow Mar 31, 2026
@jpr5 jpr5 merged commit 660a10b into main Mar 31, 2026
10 checks passed
@jpr5 jpr5 deleted the ci/unreleased-check branch March 31, 2026 22:41
jpr5 added a commit that referenced this pull request Apr 3, 2026
## Summary

Two CI improvements to prevent the v1.6.0 → v1.6.1 gap from happening
again.

### 1. Unreleased changes check (`unreleased-check.yml`)
Runs on every push to main. Compares HEAD against the latest version tag
and emits a `::warning` annotation when source commits exist without a
version bump. Skips gracefully when the tag doesn't exist yet (i.e., the
push IS the release).

### 2. Tag safety in release workflow (`publish-release.yml`)
- Explicit `git tag` + `git push origin <tag>` step before `gh release
create`
- `--verify-tag` flag on `gh release create` for belt-and-suspenders
safety
- Outputs version for reuse across steps

### Also going forward
Release commits must use `chore: release vX.Y.Z` format to pass
commitlint. Always create a branch first, never commit directly to main.
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