From 1fec8df491ae5e2113efdbb4eb23e32d9c097caa Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:52:10 +0200 Subject: [PATCH] Update default.yml --- .github/workflows/default.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 2a5a04a..b8afcc4 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -2,6 +2,10 @@ name: Test and deploy to GitHub Pages on: [push] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: init: uses: ./.github/workflows/00-init.yml