cancel-in-progress (#1162)

if 2 actions are being created to go to MAIN, the oldest one will be canceled
This commit is contained in:
DanielSvoboda 2024-10-01 01:54:36 -03:00 committed by GitHub
parent 7084fc4c41
commit 98ea06e82d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,10 @@ on:
pull_request: pull_request:
branches: [ "*" ] branches: [ "*" ]
concurrency:
group: ci-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'push' }}
env: env:
BUILD_TYPE: Release BUILD_TYPE: Release