Browse Source

feature(ci): cancel previous runs if in-progress

pull/2288/head
Alexander 3 years ago
parent
commit
e73044f1f0
  1. 4
      .github/workflows/container_test.yml
  2. 4
      .github/workflows/go.yml
  3. 4
      .github/workflows/release_test.yml

4
.github/workflows/container_test.yml

@ -5,6 +5,10 @@ on:
pull_request:
workflow_dispatch: []
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
jobs:
build-test:
runs-on: [ubuntu-latest]

4
.github/workflows/go.yml

@ -6,6 +6,10 @@ on:
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:

4
.github/workflows/release_test.yml

@ -5,6 +5,10 @@ on:
pull_request:
workflow_dispatch: []
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:

Loading…
Cancel
Save