From 0745b10e41a240d10088b2b4923bbf747a4bf003 Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Fri, 11 Aug 2023 00:47:14 +0000 Subject: [PATCH] Cancel PR runs when a new push comes in on the branch --- .github/workflows/pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1baf7c2..c1b1993 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -2,6 +2,10 @@ name: PR on: pull_request +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: superlinter: name: Lint bash, docker, markdown, and yaml