mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 21:03:11 +00:00
* docs: align organization templates with Cursor conventions Refs: PLAT-62 * ci: add deterministic PR policy gate Refs: PLAT-62 * fix(ci): grandfather unchanged workflow policy debt Refs: PLAT-62 * fix(ci): address PR policy security review Refs: PLAT-62 * fix(ci): scan copied workflow files Refs: PLAT-62 * fix(ci): close remaining workflow policy bypasses Refs: PLAT-62 * fix(policy): reject uses block scalar action refs Co-authored-by: Adam Moussa <amoussa1229@users.noreply.github.com> * fix(policy): preserve line-specific violation fingerprints Co-authored-by: Adam Moussa <amoussa1229@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Adam Moussa <amoussa1229@users.noreply.github.com>
16 lines
560 B
YAML
16 lines
560 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@81cf168170f356d1423d7736f7ce93fd6611ad53 # v1.0.4
|