Skip to content

ci: fire publish workflow on release published (incl. prereleases) - #301

Closed
fubuloubu wants to merge 1 commit into
mainfrom
ci/publish-on-published
Closed

fubuloubu wants to merge 1 commit into
mainfrom
ci/publish-on-published

Conversation

@fubuloubu

Copy link
Copy Markdown
Member

Summary

Switch the Release workflow trigger from types: [released] to types: [published].

Why

released only fires for non-prerelease releases. Publishing a GitHub prerelease (alpha/beta) never starts Trusted Publishing unless the prerelease flag is cleared.

published fires whenever a release goes from draft → published, including ones that stay marked as prerelease. Stable releases behave the same either way.

Change

 on:
   release:
-    types: [released]
+    types: [published]

No other workflow changes.

@fubuloubu

Copy link
Copy Markdown
Member Author

Superseded by reusable-workflow migration: #302

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