mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-10-30 17:27:09 +00:00
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:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user