mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-30 19:07:25 +08:00
The previously pinned SHA (5d9602ee...) had a runtime bug:
require('@actions/github') throws MODULE_NOT_FOUND because
actions/github-script does not expose @actions/github on the
inline-script Node module-resolution path.
The fix at Comfy-Org/github-workflows@8ec13264 uses github.getOctokit()
instead — which IS the action's documented API for instantiating a
second Octokit client with a different token.
Surfaced by smoke-testing the detector in Comfy-Org/cloud#3917.
25 lines
631 B
YAML
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@8ec13264e835c7b347d4fe566a943d73ca074760 # v1
|
|
with:
|
|
approval-mode: latest-per-reviewer
|
|
secrets:
|
|
UNREVIEWED_MERGES_TOKEN: ${{ secrets.UNREVIEWED_MERGES_TOKEN }}
|