ci: Skip release staging when the version is unchanged #10

Merged
martinjose merged 1 commit from ci/skip-unchanged-version into main 2026-10-22 01:13:51 +00:00
Owner

Stage Release runs on every push to main that touches pyproject.toml, so metadata or tool-config changes (PR #7, PR #8) failed at "Tag already exists".

  • A new check job compares project.version with the previous commit (forgejo.event.before, falling back to HEAD^).
  • The stage job runs only when the version changed. A changed version whose tag already exists still fails.
  • Checked against history: the #7 and #8 merges skip; the 2026.10.8 and 2026.10.9 release merges stage.

No version bump: tooling-only change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XkT5ZcGgGrktq26E71bJdt

Stage Release runs on every push to `main` that touches `pyproject.toml`, so metadata or tool-config changes (PR #7, PR #8) failed at "Tag already exists". - A new `check` job compares `project.version` with the previous commit (`forgejo.event.before`, falling back to `HEAD^`). - The `stage` job runs only when the version changed. A changed version whose tag already exists still fails. - Checked against history: the #7 and #8 merges skip; the 2026.10.8 and 2026.10.9 release merges stage. No version bump: tooling-only change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XkT5ZcGgGrktq26E71bJdt
ci: Skip release staging when the version is unchanged
All checks were successful
CI / Python 3.11 on Linux (pull_request) Successful in 11s
CI / Python 3.13 on Linux (pull_request) Successful in 15s
CI / Black formatting (pull_request) Successful in 9s
CI / CI passed (pull_request) Successful in 14s
86c67f31f1
Stage Release runs on every push to main that touches pyproject.toml, so
changes such as new metadata or tool configuration failed at "Tag already
exists". A new check job compares the version with the previous commit,
and the stage job runs only when it changed. A changed version whose tag
already exists still fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XkT5ZcGgGrktq26E71bJdt
martinjose deleted branch ci/skip-unchanged-version 2026-10-22 01:13:51 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martinjose/modify-csv!10
No description provided.