Skip to content

fix(ci): draft releases never publish — release.yml uses ignored trigger #715

@cpcloud

Description

@cpcloud

Since draftRelease: true was enabled in .releaserc.json, no releases have been published. All releases from v1.70.0 through v1.75.1 are stuck as drafts.

Root cause: Two compounding issues prevent release.yml from triggering:

  1. release: [created] — GitHub Actions does not fire this event for draft releases
  2. push: tags — the semantic-release commit message contains [skip ci], which suppresses push events including tag pushes

Fix: Call release.yml as a reusable workflow (workflow_call) from CI after semantic-release completes. The semantic-release job compares the VERSION file before/after to detect a new release and outputs the tag. A downstream job calls release.yml with the tag. Keep workflow_dispatch for manually releasing stuck drafts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions