Cancel in progress workflows but exclude master (#22684)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2023-03-29 15:56:12 +03:00
коммит произвёл GitHub
родитель 3f13d8fd41
Коммит 5267dfdcc6
4 изменённых файлов: 4 добавлений и 4 удалений

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 поставляемый
Просмотреть файл

@@ -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,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 поставляемый
Просмотреть файл

@@ -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