mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
build: cancel running CI jobs when a PR is updated
Refs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value PR-URL: https://github.com/nodejs/node/pull/42017 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Mary Marchini <oss@mmarchini.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
d274d63de2
commit
5348552b93
10 files changed
+40
No files matched your search
@@ -24,6 +24,10 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/build-tarball.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
FLAKY_TESTS: dontcare
|
||||
|
||||
@@ -19,6 +19,10 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/build-windows.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
FLAKY_TESTS: dontcare
|
||||
|
||||
@@ -20,6 +20,10 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/coverage-linux.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
FLAKY_TESTS: dontcare
|
||||
|
||||
@@ -22,6 +22,10 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/coverage-windows.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
FLAKY_TESTS: dontcare
|
||||
|
||||
@@ -10,6 +10,10 @@ on:
|
||||
- v[0-9]+.x-staging
|
||||
- v[0-9]+.x
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
|
||||
@@ -10,6 +10,10 @@ on:
|
||||
- v[0-9]+.x-staging
|
||||
- v[0-9]+.x
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
@@ -25,6 +25,10 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/test-asan.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
FLAKY_TESTS: dontcare
|
||||
|
||||
@@ -17,6 +17,10 @@ on:
|
||||
- v[0-9]+.x
|
||||
paths: [test/internet/**]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
FLAKY_TESTS: dontcare
|
||||
|
||||
@@ -19,6 +19,10 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/test-linux.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
FLAKY_TESTS: dontcare
|
||||
|
||||
@@ -25,6 +25,10 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/test-macos.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: '3.10'
|
||||
FLAKY_TESTS: dontcare
|
||||
|
||||
Reference in new issue
Block a user