Refine concurrency configuration for GitHub actions
This commit is contained in:
parent
c6826aad31
commit
b7d9f44765
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
@ -7,8 +7,8 @@ on:
|
||||
branches: [ master ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ github.ref_name != 'master' }}
|
||||
|
||||
jobs:
|
||||
e2e-tests:
|
||||
|
||||
4
.github/workflows/go_cov.yml
vendored
4
.github/workflows/go_cov.yml
vendored
@ -9,8 +9,8 @@ on:
|
||||
- cron: '15 */12 * * *'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ github.ref_name != 'master' }}
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
4
.github/workflows/golangci-lint.yml
vendored
4
.github/workflows/golangci-lint.yml
vendored
@ -6,8 +6,8 @@ on:
|
||||
branches: [ master ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ github.ref_name != 'master' }}
|
||||
|
||||
jobs:
|
||||
golangci:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user