Skip to content

ci: drop 'released' from release-workflow triggers#2

Merged
rockfordlhotka merged 1 commit into
mainfrom
ci/drop-released-trigger
May 9, 2026
Merged

ci: drop 'released' from release-workflow triggers#2
rockfordlhotka merged 1 commit into
mainfrom
ci/drop-released-trigger

Conversation

@rockfordlhotka
Copy link
Copy Markdown
Member

Summary

gh release create (the normal release path) emits both published and released events, so listening to both — added in ef0c3c8 as a defensive measure — fires the build-and-upload job twice. Both runs upload with --clobber so they're idempotent, but it's wasted CI minutes. Confirmed on the v0.1.8 release: two queued runs, identical artifacts.

Drop released; rely on published plus the existing workflow_dispatch recovery path that's already documented under "If the release workflow didn't fire."

README updated to remove the now-stale claim that we listen on both event types.

Test plan

  • Confirm v0.1.8 release fired two runs (motivation)
  • On next release, confirm only one Release workflow run fires
  • If published is ever missed, confirm gh workflow run release.yml --field tag=vX.Y.Z recovery still works (already covered in README)

🤖 Generated with Claude Code

`gh release create` (the normal release path) emits both `published` and
`released` events, so listening to both fires the build-and-upload job
twice. Both runs upload with --clobber, but it's wasted CI time.

Drop `released`; rely on `published` plus the existing `workflow_dispatch`
recovery path documented in the README.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rockfordlhotka rockfordlhotka merged commit f10aaf3 into main May 9, 2026
3 checks passed
@rockfordlhotka rockfordlhotka deleted the ci/drop-released-trigger branch May 9, 2026 18:08
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