mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(.github): optimise workflow usage (#56998)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user