From 1d2f3efa577799eef4e505c71be6ffe95bb1309e Mon Sep 17 00:00:00 2001 From: James3014 <185240413+James3014@users.noreply.github.com> Date: Fri, 16 Oct 2026 21:42:29 +0800 Subject: [PATCH] Add review record and bindings checks caller (Nexus-new#2385) Calls the reusable Sibling merge checks workflow from James3014/Nexus-new main, which publishes "Review record present (advisory)" and "Bindings preflight (default branch)" on PRs to main. Closes #527. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/sibling-merge-checks.yml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/sibling-merge-checks.yml diff --git a/.github/workflows/sibling-merge-checks.yml b/.github/workflows/sibling-merge-checks.yml new file mode 100644 index 000000000..4c1028eec --- /dev/null +++ b/.github/workflows/sibling-merge-checks.yml @@ -0,0 +1,30 @@ +# Caller for the Nexus-new reusable "Sibling merge checks" (#2385). +# Copy to .github/workflows/sibling-merge-checks.yml in each sibling repo. +name: Sibling merge checks + +on: + pull_request_target: + types: [opened, synchronize, reopened, edited] + branches: [main] + issue_comment: + types: [created, edited, deleted] + +concurrency: + group: sibling-merge-checks-${{ github.event_name }}-${{ github.event.pull_request.number || github.event.issue.number || github.run_id }} + cancel-in-progress: true + +permissions: {} + +jobs: + checks: + if: github.event_name != 'issue_comment' || github.event.issue.pull_request + uses: James3014/Nexus-new/.github/workflows/sibling-merge-checks.yml@main + permissions: + contents: read + issues: read + pull-requests: read + statuses: write + with: + pr: ${{ github.event.pull_request.number || github.event.issue.number }} + head_sha: ${{ github.event.pull_request.head.sha || '' }} + run_bindings: ${{ github.event_name == 'pull_request_target' }}