add concurrency limitation to gh actions (#22638)

This commit is contained in:
Ibrahim Serdar Acikgoz 2023-03-24 17:04:15 +03:00 committed by GitHub
parent 176a58617d
commit 5c857e9df3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 0 deletions

View file

@ -5,6 +5,9 @@ on:
branches:
- master
- mono-repo*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash

View file

@ -7,6 +7,9 @@ on:
- cloud
- release-*
- mono-repo*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-mocks:
name: Check mocks

View file

@ -1,5 +1,9 @@
name: "CodeQL"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
# The branches below must be a subset of the branches above

View file

@ -5,6 +5,9 @@ on:
branches:
- master
- mono-repo*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash