Add concurreny check to GitHub Action Workflows (#4372)
This commit is contained in:
committed by
GitHub Enterprise
parent
19becd235c
commit
c235473027
4
.github/workflows/android_build.yml
vendored
4
.github/workflows/android_build.yml
vendored
@@ -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 ]
|
||||
|
||||
4
.github/workflows/android_checkstyle.yml
vendored
4
.github/workflows/android_checkstyle.yml
vendored
@@ -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 ]
|
||||
|
||||
4
.github/workflows/android_test.yml
vendored
4
.github/workflows/android_test.yml
vendored
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user