chore(.github): optimise workflow usage (#56998)

This commit is contained in:
Shaun Hamilton
2024-10-30 15:46:41 +02:00
committed by GitHub
parent 7fa460ad3e
commit 1ec0497b13
8 changed files with 33 additions and 1 deletions
+4
View File
@@ -14,6 +14,10 @@ on:
- 'next-**'
- 'e2e-**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-client:
name: Build Client
+4
View File
@@ -11,6 +11,10 @@ on:
# to test this ad-hoc
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
do-everything:
name: Build & Test
+4
View File
@@ -13,6 +13,10 @@ on:
- 'next-**'
- 'e2e-**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-client:
name: Build Client
+4
View File
@@ -5,6 +5,10 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
triage:
permissions:
@@ -4,6 +4,10 @@ on:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Validate i18n Builds
+4
View File
@@ -4,6 +4,10 @@ on:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Validate i18n Builds
+4
View File
@@ -15,6 +15,10 @@ on:
merge_group:
types: [checks_requested]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
@@ -1,6 +1,6 @@
# TODO: remove this workflow once we use containers in the other workflows. This
# workflow is intended to prevent regressions until that has been achieved.
name: CI - E2E - Containers
name: CI - E2E - Containers - Temp
on:
workflow_dispatch:
workflow_run:
@@ -16,6 +16,10 @@ on:
- 'next-**'
- 'e2e-**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-client:
name: Build Client (Container)