forked from heavy-duty/ceremony
VERSION at 0.1.0-dev, the armed CHANGELOG.md, drills/README.md (what a drill means here), the self-callers (self-release.yml, self-labels.yml — local uses:, the one form consumers must never copy), .github/labeler.yml for the scope job, and the three self-guards in CI. labels.yml gains the self-consumption bypass (release.yml's twin) so the label bootstrap can run before any release tag exists; action-exercise's armed/drill-recorded scratch steps move to self-guards per their own eviction note. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
18 lines
807 B
YAML
18 lines
807 B
YAML
name: labels
|
|
# Ceremony's own caller for the labels automation — the dogfood of issue
|
|
# #11, wearing the same local-`uses:` deviation as self-release.yml and the
|
|
# same warning: consumers must NEVER copy the local form (it rides main,
|
|
# unpinned — correct only for the repo that IS the source). Consumers write:
|
|
# uses: heavy-duty/ceremony/.github/workflows/labels.yml@<pinned-tag>
|
|
on:
|
|
schedule: [{cron: "*/15 * * * *"}] # advisory; the handoff label is the real wake
|
|
workflow_dispatch: # bootstraps missing labels on a fresh repo
|
|
pull_request_target:
|
|
types: [opened, reopened, ready_for_review, converted_to_draft, synchronize, labeled, unlabeled]
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
pull-requests: write
|
|
jobs:
|
|
labels:
|
|
uses: ./.github/workflows/labels.yml
|