docs(release): point the reusable at this repo's own caller

release.yaml documented a generic caller example but not the caller that
actually exists in this repo. Notes that release-on-merge.yaml computes the
version, calls this workflow by local path, and is the only caller that does
so without a version comment.
This commit is contained in:
Adam Moussa 2026-07-28 17:13:44 -04:00
parent 2fbfb2e7cf
commit 7c0c6ab984
No known key found for this signature in database

View file

@ -35,6 +35,13 @@ name: Release — Tag and GitHub Release
# uses: Sea-Haven-Industries/.github/.github/workflows/release.yaml@<full-commit-sha> # main
# with:
# version: ${{ inputs.version }}
#
# This repo's own caller is .github/workflows/release-on-merge.yaml, which
# computes the version and calls this workflow by local path rather than by
# SHA. It runs on merges to main that touch a workflow carrying `on:
# workflow_call`, so a change to a reusable produces a tag other repos can pin
# to. It is also the one caller that reaches this workflow without a version
# comment, because a repo cannot usefully pin to a commit of itself.
on:
workflow_call: