From 5c3b1ed91b5a17ae42c27b3e580778b72d8d8f83 Mon Sep 17 00:00:00 2001 From: pseusys Date: Wed, 22 Feb 2023 21:23:57 +0100 Subject: [PATCH] GitHub actions cancellation policy added for the same branch --- .github/workflows/build_image.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 6a27942..923c4c5 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -3,6 +3,10 @@ name: PUBLISH_IMAGE on: push: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/dev' }} + jobs: publish-server-image: name: Publish 'waka-readme-stats' image