GitHub actions cancellation policy added for the same branch

This commit is contained in:
pseusys
2023-02-22 21:23:57 +01:00
parent 4c15003246
commit 5c3b1ed91b

View File

@@ -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