cef652d026
Labels started `checks` runs whose verify job was skipped, and GitHub counts a skipped required check as passed: auto-merge merged #823 and #837 before the real verify finished. Labels no longer start `checks` (the fork-only run-parity label has its own workflow), and verify has no condition. The parity job moves into a reusable workflow both call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
824 B
YAML
21 lines
824 B
YAML
name: run-parity
|
|
# A fork's pull request runs the parity job (parity.yml) on the Mac mini only when a maintainer who has read the
|
|
# change adds the run-parity label: once, on the commit the pull request has then. Remove the label and add it
|
|
# again after new pushes. A separate workflow, so that labels never start `checks`: there a label's run reported a
|
|
# skipped `verify`, and GitHub counts a skipped required check as passed.
|
|
on:
|
|
pull_request:
|
|
types: [labeled]
|
|
permissions:
|
|
contents: read
|
|
concurrency:
|
|
group: run-parity-${{ github.event.pull_request.number }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
parity:
|
|
if: github.event.label.name == 'run-parity'
|
|
uses: ./.github/workflows/parity.yml
|
|
with:
|
|
base: ${{ github.event.pull_request.base.sha }}
|
|
head: ${{ github.event.pull_request.head.sha }}
|