Skip to content

fix(ci): pin dogfood workflow to semvertag>=0.3.1#8

Merged
lesnik512 merged 1 commit into
mainfrom
bugfix/dogfood-floor-0.3.1
Jun 8, 2026
Merged

fix(ci): pin dogfood workflow to semvertag>=0.3.1#8
lesnik512 merged 1 commit into
mainfrom
bugfix/dogfood-floor-0.3.1

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

0.3.0 has the branch-prefix merge-detection bug (fixed in 0.3.1). The dogfood workflow's >=0.3,<1 floor allowed resolving to 0.3.0, which silently no-op'd on every GitHub PR merge. Tighten to >=0.3.1,<1 so the workflow always uses a fixed version.

This PR's source branch is bugfix/..., so once merged, the dogfood workflow itself runs against the merge commit and — using the newly-pinned 0.3.1 — should successfully recognize the Merge pull request #N from .../bugfix/... subject, compute patch, and create tag 0.3.2.

This is the moment of truth for the GitHub provider end-to-end.

Test plan

  • Merge
  • Dogfood workflow runs against merge commit Merge pull request #N from modern-python/bugfix/dogfood-floor-0.3.1
  • Workflow resolves semvertag 0.3.1, detects bugfix/ prefix, computes patch bump (0.3.1 → 0.3.2), POSTs to api.github.com/repos/modern-python/semvertag/git/refs with {"ref": "refs/tags/0.3.2", "sha": ...}
  • git fetch --tags origin && git tag --sort=-v:refname | head -3 shows 0.3.2 alongside 0.3.1 and 0.3.0
  • No GitHub release auto-created (publish.yml only fires on release creation — this is just a tag)

🤖 Generated with Claude Code

0.3.0's branch-prefix strategy doesn't recognize GitHub PR merge
subjects; the dogfood workflow silently no-op'd on every merge.
0.3.1 fixed this. Tighten the floor so the workflow can't resolve
to the known-broken 0.3.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit 0cef4f3 into main Jun 8, 2026
5 checks passed
@lesnik512 lesnik512 deleted the bugfix/dogfood-floor-0.3.1 branch June 9, 2026 13:07
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