open-swe-pilot/.github/workflows/labeler.yaml
Adam Moussa baf9e43309 Add org reusable workflow callers for PRs
Wire this repo to the Sea-Haven-Industries/.github reusable labeler and
dependency-review workflows so PRs get auto-labeled and screened for
high-severity dependency advisories without per-repo config.
2026-06-29 17:08:08 +00:00

22 lines
726 B
YAML

name: labeler
# Thin caller that runs the org-wide reusable PR labeler
# (Sea-Haven-Industries/.github :: callable-labeler.yaml) on this repo's PRs.
#
# Permissions are load-bearing: callers MUST grant all three below. 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 here —
# the org takes no fork PRs, so the lower-privilege event is sufficient.
on:
pull_request:
permissions:
contents: read
pull-requests: write
issues: write
jobs:
label:
uses: Sea-Haven-Industries/.github/.github/workflows/callable-labeler.yaml@main