Skip to content

ci(release-plz): skip cascade feat(data) commits so no empty code releases #69

Description

@polaz

Problem

Data updates land via the off-tag PSL cascade (psl-cascade.yml): it cuts the data release, publishes, and writes its own CHANGELOG entry. But release-plz still sees the synced feat(data): bump PSL data ... commits on main as unreleased features and opens an empty code-release PR (version bump only, no changelog) — e.g. #67 chore: release v0.0.17 with zero changelog delta, duplicating already-published data.

Fix

Add a commit parser to .release-plz.toml that skips ^feat\(data\) (before the generic ^feat rule), so release-plz ignores cascade data commits and only opens release PRs for genuine code changes. Data releases remain fully handled by the cascade.

Acceptance

  • After merge, release-plz recomputes and closes the empty release PR (chore: release v0.0.17 #67)
  • A data-only cascade sync no longer produces a release-plz PR
  • Genuine code changes still produce a release PR

Estimate

20m

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions