Cancel in progress workflows but exclude master (#22684)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3f13d8fd41
Коммит
5267dfdcc6
2
.github/workflows/channels-ci.yml
поставляемый
2
.github/workflows/channels-ci.yml
поставляемый
@@ -7,7 +7,7 @@ on:
|
||||
- mono-repo*
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
2
.github/workflows/ci.yml
поставляемый
2
.github/workflows/ci.yml
поставляемый
@@ -11,7 +11,7 @@ env:
|
||||
go-version: "1.19.5"
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||
jobs:
|
||||
check-mocks:
|
||||
name: Check mocks
|
||||
|
||||
2
.github/workflows/codeql-analysis.yml
поставляемый
2
.github/workflows/codeql-analysis.yml
поставляемый
@@ -2,7 +2,7 @@ name: "CodeQL"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
2
.github/workflows/e2e-tests-ci.yml
поставляемый
2
.github/workflows/e2e-tests-ci.yml
поставляемый
@@ -7,7 +7,7 @@ on:
|
||||
- mono-repo*
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
Ссылка в новой задаче
Block a user