Skip to content

ci: use PAT and smart bump/retrigger logic in bump.yml#8

Merged
MacBuchi merged 1 commit into
Mainfrom
dev
Mar 5, 2026
Merged

ci: use PAT and smart bump/retrigger logic in bump.yml#8
MacBuchi merged 1 commit into
Mainfrom
dev

Conversation

@MacBuchi

@MacBuchi MacBuchi commented Mar 5, 2026

Copy link
Copy Markdown
Owner

Changes

  • Switch bump.yml to use RELEASE_PAT instead of GITHUB_TOKEN for the checkout step — pushes made with GITHUB_TOKEN do not trigger downstream workflows (GitHub security restriction), so release.yml was never triggered automatically after a tag push.

  • Replace the simple cz bump call with a smarter decision tree:

    1. New releasable commits exist → bump version + push tag (normal flow)
    2. No new commits + latest tag has no GitHub Release → re-push the existing tag to retrigger a failed release.yml without counting up the version
    3. No new commits + release already published → exit cleanly (no-op)

@MacBuchi
MacBuchi merged commit b635c8e into Main Mar 5, 2026
6 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