mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 15:13:12 +00:00
Per the updated handbook convention (engineering-handbook PR #18), reusable-workflow references use full commit SHA pins with a '# main' comment instead of the mutable @main branch ref. Templates now ship pinned so new repos start convention-compliant; Dependabot advances the pin after instantiation. Commented usage examples in ci-static and ci-typescript-frontend use the <full-commit-sha> placeholder form.
16 lines
558 B
YAML
16 lines
558 B
YAML
name: labeler
|
|
on:
|
|
pull_request:
|
|
|
|
# All three permission grants are load-bearing: reusable-workflow permissions can
|
|
# only be downgraded from the caller, so omitting one (e.g. issues:write) either
|
|
# fails to create labels or triggers a silent startup_failure. `pull_request`
|
|
# (NOT pull_request_target) is correct — the org takes no fork PRs.
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
issues: write
|
|
|
|
jobs:
|
|
label:
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/callable-labeler.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|