ci: Cancel in progress workflows when pushing new commits

This commit is contained in:
SebastianStork 2026-03-05 21:23:16 +01:00
parent fd16dd8aa3
commit 13d5b9c3f6
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -3,6 +3,9 @@ on:
workflow_dispatch:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
parse-flake:
runs-on: ubuntu-latest