Add concurreny check to GitHub Action Workflows (#4372)

This commit is contained in:
Shivam Goyal
2022-11-17 15:18:41 +05:30
committed by GitHub Enterprise
parent 19becd235c
commit c235473027
3 changed files with 12 additions and 0 deletions

View File

@@ -6,6 +6,10 @@ on:
pull_request:
branches: [ master, release-*, development ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: [ self-hosted, android ]

View File

@@ -4,6 +4,10 @@ on:
pull_request:
branches: [ development ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
spotless:
runs-on: [ self-hosted, default ]

View File

@@ -6,6 +6,10 @@ on:
pull_request:
branches: [ development, master ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: [ self-hosted, default ]