Skip to content

Commit

Permalink
ci: trigger the pulsar workflow only when pulsar related workflows ar…
Browse files Browse the repository at this point in the history
…e updated
  • Loading branch information
FushuWang committed Jul 7, 2022
1 parent b5acbaa commit 1496efc
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pulsar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_bk_tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_broker_ip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_broker_tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pulsar_jwt_asymmetric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'

jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_jwt_symmetric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_sa_disabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_service_account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pulsar_upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
- '*'
paths:
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
upgrade-test:
runs-on: ubuntu-latest
Expand All @@ -46,4 +46,4 @@ jobs:
env:
UPGRADE: true
K8S_VERSION: v1.18.15
run: .ci/chart_test.sh .ci/clusters/values-upgrade.yaml ${PWD}/apache-charts
run: .ci/chart_test.sh .ci/clusters/values-upgrade.yaml ${PWD}/apache-charts
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_zk_tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar_zkbk_tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
paths:
- 'charts/local-storage-provisioner/**'
- 'charts/pulsar/**'
- '.github/workflows/**'
- '.github/workflows/pulsar**'
jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1496efc

Please sign in to comment.