[ci] automatically cancel GitHub Actions runs for outdated commits (#5651)

This commit is contained in:
James Lamb 2022-12-29 10:29:19 -06:00 коммит произвёл GitHub
Родитель 46278af56d
Коммит 3d33c756bd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 20 добавлений и 0 удалений

5
.github/workflows/cuda.yml поставляемый
Просмотреть файл

@ -9,6 +9,11 @@ on:
- master
- release/*
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
github_actions: 'true'
os_name: linux

5
.github/workflows/python_package.yml поставляемый
Просмотреть файл

@ -9,6 +9,11 @@ on:
- master
- release/*
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CONDA_ENV: test-env
GITHUB_ACTIONS: 'true'

5
.github/workflows/r_package.yml поставляемый
Просмотреть файл

@ -9,6 +9,11 @@ on:
- master
- release/*
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
# hack to get around this:
# https://stat.ethz.ch/pipermail/r-package-devel/2020q3/005930.html

5
.github/workflows/static_analysis.yml поставляемый
Просмотреть файл

@ -11,6 +11,11 @@ on:
- master
- release/*
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
COMPILER: 'gcc'
CONDA_ENV: test-env