1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00

Testing - IR integration enable concurrency #536

Fix concurrency cancel-in-progress condition in CI workflow for IR branch
This commit is contained in:
Pasukhin Dmitry 2025-05-15 19:34:23 +01:00 committed by GitHub
parent 66d2a06b5a
commit ebc3885799
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,8 +14,10 @@ on:
- 'master'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: ${{ !(github.ref == 'refs/heads/IR' && github.repository == 'Open-Cascade-SAS/OCCT') }}
group: ${{ github.event_name == 'pull_request'
&& format('{0}-{1}', github.workflow, github.event.pull_request.number)
|| format('{0}-{1}', github.workflow, github.run_id) }}
cancel-in-progress: ${{ github.event_name == 'pull_request' && !(github.head_ref == 'IR' && github.repository == 'Open-Cascade-SAS/OCCT') && true || false }}
jobs:
clang-format: