Unverified Commit 3d33c756 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

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

parent 46278af5
...@@ -9,6 +9,11 @@ on: ...@@ -9,6 +9,11 @@ on:
- master - master
- release/* - release/*
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env: env:
github_actions: 'true' github_actions: 'true'
os_name: linux os_name: linux
......
...@@ -9,6 +9,11 @@ on: ...@@ -9,6 +9,11 @@ on:
- master - master
- release/* - release/*
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env: env:
CONDA_ENV: test-env CONDA_ENV: test-env
GITHUB_ACTIONS: 'true' GITHUB_ACTIONS: 'true'
......
...@@ -9,6 +9,11 @@ on: ...@@ -9,6 +9,11 @@ on:
- master - master
- release/* - release/*
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env: env:
# hack to get around this: # hack to get around this:
# https://stat.ethz.ch/pipermail/r-package-devel/2020q3/005930.html # https://stat.ethz.ch/pipermail/r-package-devel/2020q3/005930.html
......
...@@ -11,6 +11,11 @@ on: ...@@ -11,6 +11,11 @@ on:
- master - master
- release/* - release/*
# automatically cancel in-progress builds if another commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env: env:
COMPILER: 'gcc' COMPILER: 'gcc'
CONDA_ENV: test-env CONDA_ENV: test-env
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment