Skip to content

Commit

Permalink
CI: Cancel runs in progress when pushing new ones
Browse files Browse the repository at this point in the history
This is necessary now that our Heroku bot is not working anymore.
  • Loading branch information
ccordoba12 committed Dec 23, 2022
1 parent 9061187 commit 319f548
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/installer-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
types:
- created

concurrency:
group: installer-macos-${{ github.ref }}
cancel-in-progress: true

name: Create macOS App Bundle and DMG

jobs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/installer-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
types:
- created

concurrency:
group: installer-win-${{ github.ref }}
cancel-in-progress: true

name: Create Windows Installer

jobs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/installers-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
types:
- created

concurrency:
group: installers-conda-${{ github.ref }}
cancel-in-progress: true

name: Create conda-based installers for Windows, macOS, and Linux

jobs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ on:
- '!installers*/**'
- '!.github/workflows/installer*.yml'

concurrency:
group: test-files-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Linux - Py${{ matrix.PYTHON_VERSION }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ on:
- '!installers*/**'
- '!.github/workflows/installer*.yml'

concurrency:
group: test-linux-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Linux - Py${{ matrix.PYTHON_VERSION }}, ${{ matrix.INSTALL_TYPE }}, ${{ matrix.TEST_TYPE }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ on:
- '!installers*/**'
- '!.github/workflows/installer*.yml'

concurrency:
group: test-mac-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Mac - Py${{ matrix.PYTHON_VERSION }}, ${{ matrix.INSTALL_TYPE }}, ${{ matrix.TEST_TYPE }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ on:
- '!installers*/**'
- '!.github/workflows/installer*.yml'

concurrency:
group: test-win-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Windows - Py${{ matrix.PYTHON_VERSION }}, ${{ matrix.INSTALL_TYPE }}, ${{ matrix.TEST_TYPE }}
Expand Down

0 comments on commit 319f548

Please sign in to comment.