ceremony-ci-probe/.github/workflows/self-release.yml
2026-08-02 20:20:41 +00:00

21 lines
988 B
YAML

name: release
# Ceremony's own caller — the dogfood of issue #11. This is the consumer
# stub from docs/CONSUMERS.md with ONE deviation, and consumers must NEVER
# copy it: `uses:` below is a LOCAL path, so every run executes THIS tree's
# release.yml. No pin is the point here — ceremony's own release cannot
# check out a tag that the very run creates (#9's self-consumption bypass
# is the same fact one layer down) — and would be a bug anywhere else: a
# consumer without a pin rides main and eats every unreleased change.
# Consumers write:
# uses: heavy-duty/ceremony/.github/workflows/release.yml@<pinned-tag>
on:
workflow_dispatch:
permissions:
contents: write # tag ref create + release create + the bump push
pull-requests: write # decide's label read; the bump-fallback `gh pr create`
issues: write # --label on that fallback PR rides the issues API
jobs:
release:
uses: ./.github/workflows/release.yml
with:
version-source: file