Skip to content

Commit

Permalink
ci(weaver): added conditions to run only when affected corresponding …
Browse files Browse the repository at this point in the history
…files

Signed-off-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
  • Loading branch information
sandeepnRES committed Jan 2, 2024
1 parent f8f6bcb commit 1fb2551
Show file tree
Hide file tree
Showing 12 changed files with 112 additions and 122 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test_weaver-asset-exchange-besu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@ on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_weaver-asset-exchange-corda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,20 @@ on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_weaver-asset-exchange-fabric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,20 @@ on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_weaver-asset-transfer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,20 @@ on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test_weaver-corda-interop-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ name: Unit Test Corda Interop App
on:
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/common/protos-java-kt/**'
- 'weaver/core/network/corda-interop-app/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/common/protos-java-kt/**'
- 'weaver/core/network/corda-interop-app/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_weaver-data-sharing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,20 @@ on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_weaver-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@ env:
on:
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/**'
- '!weaver/docs/**'
- '!weaver/rfcs/**'
- '!weaver/resources/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_weaver-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,20 @@ name: Unit Test Fabric Interop CC and Sample Chaincode
on:
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/common/protos-go/**'
- 'weaver/core/network/fabric-interop-cc/**'
- 'weaver/samples/fabric/**'
- '!weaver/samples/fabric/fabric-cli/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/common/protos-go/**'
- 'weaver/core/network/fabric-interop-cc/**'
- 'weaver/samples/fabric/**'
- '!weaver/samples/fabric/fabric-cli/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test_weaver-node-pkgs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,20 @@ env:
on:
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/common/protos-js/**'
- 'weaver/sdks/fabric/interoperation-node-sdk/**'
- 'weaver/core/identity-management/**'
- 'weaver/docs/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/common/protos-js/**'
- 'weaver/sdks/fabric/interoperation-node-sdk/**'
- 'weaver/core/identity-management/**'
- 'weaver/docs/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test_weaver-relay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ name: Unit Test Relay
on:
push:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/common/protos-rs/**'
- 'weaver/core/relay/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/test_weaver-**'
- 'weaver/common/protos-rs/**'
- 'weaver/core/relay/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
42 changes: 0 additions & 42 deletions weaver/.github/workflows/deploy_docs.yml

This file was deleted.

80 changes: 0 additions & 80 deletions weaver/.github/workflows/manual_deploy_go-pkgs.yml

This file was deleted.

0 comments on commit 1fb2551

Please sign in to comment.