Skip to content

Commit 241a502

Browse files
authored
chore: sync go-app template drift (#249)
Syncs `labeler.yml` + `auto-merge-deps.yml` (workflows) and the `.github/labeler.yml` config to the current `go-app` template, resolving the Template-drift check. The workflow changes are the zizmor `dangerous-triggers` ignore comments from netresearch/.github#237; the config change adds JS/TS glob patterns (inert for a Go repo). No behavior change.
2 parents 1778e7e + 6ff299b commit 241a502

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/auto-merge-deps.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Auto-merge dependency PRs
22

3-
on:
3+
# pull_request_target is required: approving/enabling auto-merge on fork
4+
# dependency PRs needs a write-scoped token, which pull_request does not
5+
# provide. The called reusable workflow only runs gh-CLI review/merge steps
6+
# gated on dependabot/renovate authorship (no checkout or execution of
7+
# untrusted PR code), so the usual pull_request_target risk does not apply.
8+
on: # zizmor: ignore[dangerous-triggers]
49
pull_request_target:
510

611
permissions: {}

.github/workflows/labeler.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Labeler
22

3-
on:
3+
# pull_request_target is required: labeling fork PRs needs a write-scoped
4+
# token, which pull_request does not provide. The called reusable workflow
5+
# only runs actions/labeler (no checkout or execution of untrusted PR code),
6+
# so the usual pull_request_target risk does not apply here.
7+
on: # zizmor: ignore[dangerous-triggers]
48
pull_request_target:
59
types: [opened, synchronize, reopened]
610

0 commit comments

Comments
 (0)