Skip to content

Commit

Permalink
auto-cancel running builds on PRs when pushing a new commit
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Oct 10, 2023
1 parent b84393e commit 73def6a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: 🍏 Mac OS build

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mingw64.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: 🪟 MingW64 Windows 64bit Build

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ogc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: 🗺 OGC tests for QGIS Server

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: 🧪 QGIS tests

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down Expand Up @@ -85,7 +89,7 @@ jobs:
large-packages: false
docker-images: false
swap-storage: true

- name: Checkout
uses: actions/checkout@v4

Expand Down

0 comments on commit 73def6a

Please sign in to comment.