fix(ci): lets attempt another fix for concurrency

This commit is contained in:
Ashwin Bharambe 2025-07-31 13:22:24 -07:00
parent 18576349ca
commit 22f79bdb9e
2 changed files with 6 additions and 4 deletions

View file

@ -37,13 +37,14 @@ on:
default: '' default: ''
concurrency: concurrency:
# This creates three concurrency groups: # Skip concurrency for pushes to main - each commit should be tested independently
# For other events, create concurrency groups:
# ${{ github.workflow }}-${{ github.ref }}-rerecord (for labeled events with re-record-tests label) # ${{ github.workflow }}-${{ github.ref }}-rerecord (for labeled events with re-record-tests label)
# ${{ github.workflow }}-${{ github.ref }}-replay (for all non-labeled events) # ${{ github.workflow }}-${{ github.ref }}-replay (for all non-labeled events)
# ${{ github.workflow }}-${{ github.ref }}-no-run (for labeled events without re-record-tests label) # ${{ github.workflow }}-${{ github.ref }}-no-run (for labeled events without re-record-tests label)
# The "no-run" group ensures that irrelevant label events don't interfere with the real workflows. # The "no-run" group ensures that irrelevant label events don't interfere with the real workflows.
group: >- group: >-
${{ github.workflow }}-${{ github.ref }}-${{ ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-${{
github.event.action == 'labeled' && ( github.event.action == 'labeled' && (
contains(github.event.pull_request.labels.*.name, 're-record-tests') && 'rerecord' || 'no-run' contains(github.event.pull_request.labels.*.name, 're-record-tests') && 'rerecord' || 'no-run'
) || 'replay' ) || 'replay'

View file

@ -29,13 +29,14 @@ on:
default: '' default: ''
concurrency: concurrency:
# This creates three concurrency groups: # Skip concurrency for pushes to main - each commit should be tested independently
# For other events, create concurrency groups:
# ${{ github.workflow }}-${{ github.ref }}-rerecord (for labeled events with re-record-tests label) # ${{ github.workflow }}-${{ github.ref }}-rerecord (for labeled events with re-record-tests label)
# ${{ github.workflow }}-${{ github.ref }}-replay (for all non-labeled events) # ${{ github.workflow }}-${{ github.ref }}-replay (for all non-labeled events)
# ${{ github.workflow }}-${{ github.ref }}-no-run (for labeled events without re-record-tests label) # ${{ github.workflow }}-${{ github.ref }}-no-run (for labeled events without re-record-tests label)
# The "no-run" group ensures that irrelevant label events don't interfere with the real workflows. # The "no-run" group ensures that irrelevant label events don't interfere with the real workflows.
group: >- group: >-
${{ github.workflow }}-${{ github.ref }}-${{ ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-${{
github.event.action == 'labeled' && ( github.event.action == 'labeled' && (
contains(github.event.pull_request.labels.*.name, 're-record-tests') && 'rerecord' || 'no-run' contains(github.event.pull_request.labels.*.name, 're-record-tests') && 'rerecord' || 'no-run'
) || 'replay' ) || 'replay'