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@ on: schedule: [{cron: "*/15 * * * *"}] # advisory; the handoff label is the real wake workflow_dispatch: # bootstraps missing labels on a fresh repo issues: types: [opened, edited, assigned, unassigned, labeled, unlabeled, closed, reopened] pull_request_target: # review_requested/review_request_removed wake the sweep that clears (or # restores) blocker:unrequested — without them the one event that makes # the label false could not clear it, and a quiet repo wore the red flag # until the advisory cron (#137). types: [opened, reopened, ready_for_review, converted_to_draft, synchronize, labeled, unlabeled, review_requested, review_request_removed] permissions: contents: read checks: read # mergeability/check-rollup read for PR state statuses: read # commit-status rollup read for PR state issues: write pull-requests: write jobs: labels: uses: ./.github/workflows/labels.yml