From 4af1acc66b150ad2abd2bc11e28bd46611181c17 Mon Sep 17 00:00:00 2001 From: Luong Vo Date: Sat, 22 Oct 2022 18:08:23 +0700 Subject: [PATCH] feat: cancel in progress build if there is a new push --- .github/workflows/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 3c71f3d..b0646f0 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -1,5 +1,9 @@ name: Check Markdown links +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: push: branches: