ComfyUI/.github/workflows/detect-unreviewed-merge.yml
Luke Mino-Altherr 668cb0748e Pin reusable workflow to commit SHA + add explicit permissions
Best-practice hardening for the caller of the reusable detector workflow:
- Replace @v1 tag with the immutable commit SHA 5d9602ee... (# v1 comment
  preserves human-readable version info). Satisfies pin-validation tools
  like pinact and zizmor.
- Add explicit minimum permissions (contents: read, pull-requests: read)
  at workflow level so the default permissive token scope is not granted.
2026-05-27 19:00:04 -07:00

25 lines
631 B
YAML

name: Detect Unreviewed Merge
# SOC 2 compliance — reusable workflow lives in Comfy-Org/github-workflows,
# tracking issues are filed in Comfy-Org/unreviewed-merges.
on:
push:
branches: [master]
concurrency:
group: detect-unreviewed-merge-${{ github.sha }}
cancel-in-progress: false
permissions:
contents: read
pull-requests: read
jobs:
detect:
uses: Comfy-Org/github-workflows/.github/workflows/detect-unreviewed-merge.yml@5d9602ee861466a7873270cd6b2037ebdfdee9a3 # v1
with:
approval-mode: latest-per-reviewer
secrets:
UNREVIEWED_MERGES_TOKEN: ${{ secrets.UNREVIEWED_MERGES_TOKEN }}