Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: cancel running CI jobs when a PR is updated #42017

Merged
merged 1 commit into from Feb 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build-tarball.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-windows.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage-linux.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage-windows.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/doc.yml
Expand Up @@ -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/*

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linters.yml
Expand Up @@ -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/*
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-asan.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-internet.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-linux.yml
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-macos.yml
Expand Up @@ -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
Expand Down