Fix concurrency cancel-in-progress condition in CI workflow for IR branch
- '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: