Skip to content

Commit

Permalink
Merge pull request #350 from gpontejos/update-lint-version-check
Browse files Browse the repository at this point in the history
fix: only run version bump check if release label is present in PR
  • Loading branch information
redhatrises authored Jan 17, 2025
2 parents 1574e41 + d7b4a04 commit d6ba906
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/helm-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
uses: helm/[email protected]

- name: Run chart-testing (lint)
run: ct lint --config tests/ct.yaml
run: ct lint --config tests/ct.yaml --check-version-increment=${{contains(github.event.pull_request.labels.*.name, 'release')}}
2 changes: 1 addition & 1 deletion .github/workflows/helm-node-sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:


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

- name: Configure Node Sensor Chart values
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-sidecar-sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:


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

- name: Configure Sidecar Chart values
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
fi
- name: Run chart-testing (lint)
run: ct lint --config tests/ct.yaml
run: ct lint --config tests/ct.yaml --check-version-increment=${{contains(github.event.pull_request.labels.*.name, 'release')}}

- name: Create kind cluster
uses: helm/[email protected]
Expand Down

0 comments on commit d6ba906

Please sign in to comment.