diff options
| author | Christian Cleberg <[email protected]> | 2026-07-16 11:47:25 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-07-16 11:47:25 -0500 |
| commit | 2b913e1b727429a3a6bc7eb023003ef2815919ae (patch) | |
| tree | ded241a902d21151143ba3051ac583ad49408816 | |
| parent | 6a26c6de827e56a57d9a8c600b26354e280df383 (diff) | |
| parent | db8539798766a6d238e7c134458f692c394e1668 (diff) | |
| download | hutch-2b913e1b727429a3a6bc7eb023003ef2815919ae.tar.gz hutch-2b913e1b727429a3a6bc7eb023003ef2815919ae.tar.bz2 hutch-2b913e1b727429a3a6bc7eb023003ef2815919ae.zip | |
Merge pull request #10 from zerolabsco/ci-no-post-merge-run
ci: drop the redundant post-merge test run
| -rw-r--r-- | .github/workflows/test.yml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b03336..c002514 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,13 +8,20 @@ name: Tests # source directory still runs the suite. A skip rule that is too broad is how a # real change slips through ungated. # -# Safe on pull_request only because main has no required status checks: a run +# pull_request only, by design. GitHub runs the suite against the merge result +# (PR merged into main), so a green PR already validates exactly what lands on +# main. Merges here are merge commits, not squash, so the merged main is the same +# tree that was tested — re-running on push to main would only burn a macOS runner +# to re-confirm a result we already have. +# +# The tradeoff: a non-docs change pushed straight to main (bypassing a PR) is not +# tested. That is not how this repo works — only docs go direct to main, and those +# are path-skipped anyway. +# +# Safe as pull_request-only because main has no required status checks: a run # skipped by a path filter never reports, so a required check would leave a # docs-only PR waiting forever. on: - push: - branches: [main] - paths-ignore: ['*.md', 'Docs/*.md'] pull_request: paths-ignore: ['*.md', 'Docs/*.md'] workflow_dispatch: |
