mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(gha): do not cancel for main/prod branches (#60383)
This commit is contained in:
committed by
GitHub
parent
c37af5001b
commit
186ccf2602
@@ -1,18 +1,14 @@
|
||||
name: CI - E2E - 3rd party donation tests
|
||||
|
||||
# These are only run on prod-* branches to test the 3rd party donation flow
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'prod-**'
|
||||
|
||||
# to test this ad-hoc
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'main') && !contains(github.ref, 'prod-') }}
|
||||
|
||||
jobs:
|
||||
do-everything:
|
||||
|
||||
Reference in New Issue
Block a user