mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Cancel existing workflows on subsequent PR push
Cancel existing workflows on subsequent PR push. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
7c42ff3d8e
commit
73e4d98dd9
13 changed files with 52 additions and 7 deletions
4
.github/workflows/lint.yaml
vendored
4
.github/workflows/lint.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
GO_VER: 1.19.6
|
||||
NODE_VER: 16.x
|
||||
|
|
|
|||
4
.github/workflows/rest-sample.yaml
vendored
4
.github/workflows/rest-sample.yaml
vendored
|
|
@ -16,6 +16,10 @@ on:
|
|||
branches: [ "main", "release-2.5" ]
|
||||
paths: [ "asset-transfer-basic/rest-api-typescript/**" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test-sample:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
|||
6
.github/workflows/test-fsat.yaml
vendored
6
.github/workflows/test-fsat.yaml
vendored
|
|
@ -8,6 +8,10 @@ on:
|
|||
- "main"
|
||||
- "release-2.5"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ansible:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -53,5 +57,3 @@ jobs:
|
|||
uses: ./.github/actions/fsat-setup
|
||||
- run: just test-console
|
||||
working-directory: full-stack-asset-transfer-guide
|
||||
|
||||
|
||||
|
|
|
|||
4
.github/workflows/test-network-basic.yaml
vendored
4
.github/workflows/test-network-basic.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
basic:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
|||
5
.github/workflows/test-network-events.yaml
vendored
5
.github/workflows/test-network-events.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
events:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -34,4 +38,3 @@ jobs:
|
|||
env:
|
||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
||||
|
||||
|
|
|
|||
4
.github/workflows/test-network-gateway.yaml
vendored
4
.github/workflows/test-network-gateway.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
gateway:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
|||
4
.github/workflows/test-network-hsm.yaml
vendored
4
.github/workflows/test-network-hsm.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
hsm:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
|||
4
.github/workflows/test-network-k8s.yaml
vendored
4
.github/workflows/test-network-k8s.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ccaas-java:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
|||
5
.github/workflows/test-network-ledger.yaml
vendored
5
.github/workflows/test-network-ledger.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
basic:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -34,4 +38,3 @@ jobs:
|
|||
env:
|
||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
off-chain:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
|
|||
5
.github/workflows/test-network-private.yaml
vendored
5
.github/workflows/test-network-private.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
private:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -33,4 +37,3 @@ jobs:
|
|||
env:
|
||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
||||
|
||||
|
|
|
|||
5
.github/workflows/test-network-sbe.yaml
vendored
5
.github/workflows/test-network-sbe.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
SBE:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -34,4 +38,3 @@ jobs:
|
|||
env:
|
||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
||||
|
||||
|
|
|
|||
5
.github/workflows/test-network-secured.yaml
vendored
5
.github/workflows/test-network-secured.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
|||
pull_request:
|
||||
branches: [ "main", "release-2.5" ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
secured:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -33,4 +37,3 @@ jobs:
|
|||
env:
|
||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue