Skip to content

Commit

Permalink
ci: fix e2e concurrency groups (#2989)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhwhite committed Jan 8, 2025
1 parent d68e578 commit a587d7b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
if: ${{ !startsWith( github.head_ref || github.ref_name, 'release-please--' ) && !contains( github.event.pull_request.labels.*.name, 'skip e2e' ) }}
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name || github.event.ref }}
group: ${{ github.workflow }}-install-deps-${{ github.head_ref || github.ref_name || github.event.ref }}
cancel-in-progress: true
outputs:
node-version: ${{ steps.setup-node.outputs.node-version }}
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
name: Build Project Storybook
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.job }}--${{ matrix.project }}-${{ github.head_ref || github.ref_name || github.event.ref }}
group: ${{ github.workflow }}-build-storybook--${{ matrix.project }}-${{ github.head_ref || github.ref_name || github.event.ref }}
cancel-in-progress: true
needs: install-deps
strategy:
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
name: Build Apps
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.job }}--${{ matrix.app }}-${{ github.head_ref || github.ref_name || github.event.ref }}
group: ${{ github.workflow }}-build-apps--${{ matrix.app }}-${{ github.head_ref || github.ref_name || github.event.ref }}
cancel-in-progress: true
needs: install-deps
strategy:
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
name: Publish
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name || github.event.ref }}
group: ${{ github.workflow }}-publish-${{ github.head_ref || github.ref_name || github.event.ref }}
cancel-in-progress: true
needs:
- install-deps
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
runs-on: ubuntu-latest
# Baseline branches should complete the E2E jobs so Percy does not get stuck https://www.browserstack.com/question/61332
concurrency:
group: ${{ github.workflow }}-${{ github.job }}--${{ matrix.project }}-${{ github.head_ref || format('{0}-{1}', github.run_id, github.run_attempt) }}
group: ${{ github.workflow }}-e2e--${{ matrix.project }}-${{ github.head_ref || format('{0}-{1}', github.run_id, github.run_attempt) }}
cancel-in-progress: true
needs: install-deps
strategy:
Expand Down Expand Up @@ -415,7 +415,7 @@ jobs:
name: E2E Visual Review
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name || github.event.ref }}
group: ${{ github.workflow }}-verify-${{ github.head_ref || github.ref_name || github.event.ref }}
cancel-in-progress: false
needs:
- install-deps
Expand Down

0 comments on commit a587d7b

Please sign in to comment.