ci: editing a PR's text no longer cancels its running checks (#4420)

* ci: editing a PR's text no longer cancels its running checks

CI, regression and Windows render re-run on pull_request edited (for base changes) with cancel-in-progress, so a body or title edit cancelled the running checks and the fail-closed Test aggregator went red on the cancelled run. Only a push or a base change cancels now; a text edit queues behind the running run.

* test(ci): read the workflows folder by path, not as a module URL

Fallow treated new URL('../.github/workflows/', import.meta.url) as an unresolvable import. Use import.meta.dirname and join, as scripts/check-skill-mirror.mjs does.
This commit is contained in:
Miguel Ángel
2026-09-24 11:19:00 -04:00
committed by GitHub
parent cbaddec51a
commit 096a586b41
5 changed files with 44 additions and 4 deletions
+2 -1
View File
@@ -30,7 +30,8 @@ on:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
# A body or title edit queues behind running checks instead of cancelling them.
cancel-in-progress: ${{ github.event.action != 'edited' || github.event.changes.base != null }}
jobs:
test-reachability:
+2 -1
View File
@@ -13,7 +13,8 @@ env:
# SHA. Keep only the newest expensive regression run for each PR/ref.
concurrency:
group: regression-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
# A body or title edit queues behind running checks instead of cancelling them.
cancel-in-progress: ${{ github.event.action != 'edited' || github.event.changes.base != null }}
on:
workflow_dispatch:
+2 -1
View File
@@ -34,7 +34,8 @@ on:
concurrency:
group: windows-render-${{ github.ref }}
cancel-in-progress: true
# A body or title edit queues behind running checks instead of cancelling them.
cancel-in-progress: ${{ github.event.action != 'edited' || github.event.changes.base != null }}
jobs:
changes: