From 5873885edc12dcbee7714f3945af7efc47e05b75 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Fri, 19 Apr 2024 21:53:06 +0200 Subject: [PATCH] Cancel workflow runs for in progress PRs --- .github/workflows/push.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 713eb70..26828fa 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -10,6 +10,10 @@ on: branches-ignore: - release +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest