mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-21 17:15: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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO_VER: 1.19.6
|
GO_VER: 1.19.6
|
||||||
NODE_VER: 16.x
|
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" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
paths: [ "asset-transfer-basic/rest-api-typescript/**" ]
|
paths: [ "asset-transfer-basic/rest-api-typescript/**" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-sample:
|
test-sample:
|
||||||
runs-on: ubuntu-20.04
|
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"
|
- "main"
|
||||||
- "release-2.5"
|
- "release-2.5"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ansible:
|
ansible:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
@ -53,5 +57,3 @@ jobs:
|
||||||
uses: ./.github/actions/fsat-setup
|
uses: ./.github/actions/fsat-setup
|
||||||
- run: just test-console
|
- run: just test-console
|
||||||
working-directory: full-stack-asset-transfer-guide
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
basic:
|
basic:
|
||||||
runs-on: ubuntu-20.04
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
events:
|
events:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
@ -34,4 +38,3 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gateway:
|
gateway:
|
||||||
runs-on: ubuntu-20.04
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
hsm:
|
hsm:
|
||||||
runs-on: ubuntu-20.04
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ccaas-java:
|
ccaas-java:
|
||||||
runs-on: ubuntu-20.04
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
basic:
|
basic:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
@ -34,4 +38,3 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
off-chain:
|
off-chain:
|
||||||
runs-on: ubuntu-20.04
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
private:
|
private:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
@ -33,4 +37,3 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
SBE:
|
SBE:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
@ -34,4 +38,3 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
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:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.head_ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
secured:
|
secured:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
@ -33,4 +37,3 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
CHAINCODE_NAME: ${{ matrix.chaincode-name }}
|
||||||
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
CHAINCODE_LANGUAGE: ${{ matrix.chaincode-language }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue