do not allow concurrent runs

This commit is contained in:
Daniel Winkler 2025-08-26 14:07:23 +10:00
commit 79d671a749
2 changed files with 6 additions and 0 deletions

View file

@ -2,6 +2,9 @@ name: "Test template"
on:
workflow_dispatch: # allows manual triggering
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ${{ matrix.os }}

View file

@ -4,6 +4,9 @@ on:
push:
branches:
- 'update_n'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ${{ matrix.os }}