Parent
Part of #14
What to build
Refactor .github/workflows/release.yml to be callable from other workflows, without behaviour change for existing trigger paths.
- Add
workflow_call trigger alongside push: tags: and workflow_dispatch
- Add
dry_run input (default false) on both workflow_dispatch and workflow_call
- Introduce
env.RELEASE_TAG: ${{ inputs.tag || github.ref_name }}
- Gate the registry push and GitHub-release publish steps on
${{ !inputs.dry_run }}
- Mirror haydenk/homestead release.yml structure
Acceptance criteria
Blocked by
None — can start immediately.
Parent
Part of #14
What to build
Refactor
.github/workflows/release.ymlto be callable from other workflows, without behaviour change for existing trigger paths.workflow_calltrigger alongsidepush: tags:andworkflow_dispatchdry_runinput (default false) on bothworkflow_dispatchandworkflow_callenv.RELEASE_TAG: ${{ inputs.tag || github.ref_name }}${{ !inputs.dry_run }}Acceptance criteria
workflow_callis invocable: a sibling workflow can call release.yml withtaginputworkflow_dispatchwithdry_run=truebuilds without pushing or releasingpush: tags:trigger still fires the full release pathdry_run=trueBlocked by
None — can start immediately.