Skip to content

Commit d6ba906

Browse files
authored
Merge pull request #350 from gpontejos/update-lint-version-check
fix: only run version bump check if release label is present in PR
2 parents 1574e41 + d7b4a04 commit d6ba906

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/helm-lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
uses: helm/chart-testing-action@v2.6.1
2929

3030
- name: Run chart-testing (lint)
31-
run: ct lint --config tests/ct.yaml
31+
run: ct lint --config tests/ct.yaml --check-version-increment=${{contains(github.event.pull_request.labels.*.name, 'release')}}

.github/workflows/helm-node-sensor.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949

5050
- name: Run chart-testing (lint)
51-
run: ct lint --config tests/ct.yaml
51+
run: ct lint --config tests/ct.yaml --check-version-increment=false
5252

5353
- name: Configure Node Sensor Chart values
5454
run: |

.github/workflows/helm-sidecar-sensor.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949

5050
- name: Run chart-testing (lint)
51-
run: ct lint --config tests/ct.yaml
51+
run: ct lint --config tests/ct.yaml --check-version-increment=false
5252

5353
- name: Configure Sidecar Chart values
5454
run: |

.github/workflows/helm-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fi
4242
4343
- name: Run chart-testing (lint)
44-
run: ct lint --config tests/ct.yaml
44+
run: ct lint --config tests/ct.yaml --check-version-increment=${{contains(github.event.pull_request.labels.*.name, 'release')}}
4545

4646
- name: Create kind cluster
4747
uses: helm/kind-action@v1.10.0

0 commit comments

Comments
 (0)