Skip to content

Document the File-Target Caller Variant of the Release Chain and Drop the Branch-Matrix Trigger Shape #2301

Closed

Description

@ptr727

Problem

Two gaps in docs/reusable-workflows.md, left after #2295 added the build-release-asset hook.

  1. No caller variant for a file-target repository. "Adopting the Release Chain" and the header of catalog/snippets/workflows/publish-release.yml name only the NuGet stub and its Docker and PyPI variations. A repository whose release carries a file built by the build-release-asset hook (eda, homeassistant) sets enable_release_asset: true, turns every other enable_* off, drops nuget_project and the publish-nuget job, keeps expect_release_assets: true, and carries the hook. None of that is written down. An adopter copying the NuGet stub and only adding enable_release_asset: true still runs build-nuget, which fails on the dropped project path.
  2. A stale trigger shape. The paragraph after "Adopting the Release Chain"'s stub list names "KiCadLibrary's branch-matrix dispatch" as a fleet trigger shape. KiCadLibrary's release-chain adoption replaces that with the fleet library shape: a paths-filtered push to main plus workflow_dispatch.

Fix

Add the file-target variant to "Adopting the Release Chain" and to the snippet's header comment, using KiCadLibrary's adopted publish-release.yml and .github/actions/build-release-asset/action.yml as the worked example once that pull request merges. Drop the branch-matrix sentence.

🤖 Generated with Claude Code

Activity

  1. added
    documentation
    on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions