mirror of
https://github.com/bitnami/charts.git
synced 2026-02-11 21:07:10 +08:00
Avoid running chart version increment validation when it's not required (#8935)
This commit is contained in:
committed by
GitHub
parent
bc979f7764
commit
dff47ebeb3
1
.github/ct-lint.yaml
vendored
1
.github/ct-lint.yaml
vendored
@@ -2,7 +2,6 @@ chart-dirs:
|
||||
- bitnami
|
||||
chart-repos:
|
||||
- bitnami=https://charts.bitnami.com/bitnami
|
||||
check-version-increment: true
|
||||
debug: true
|
||||
remote: origin
|
||||
validate-chart-schema: true
|
||||
|
||||
13
.github/workflows/lint-test.yaml
vendored
13
.github/workflows/lint-test.yaml
vendored
@@ -15,8 +15,19 @@ jobs:
|
||||
- name: Set up chart-testing
|
||||
uses: helm/chart-testing-action@v2.1.0
|
||||
|
||||
- name: Get list of files with changes in Pull Request
|
||||
id: pr-file-changes
|
||||
uses: trilom/file-changes-action@v1.2.4
|
||||
with:
|
||||
fileOutput: ' '
|
||||
|
||||
- name: Run chart-testing (lint)
|
||||
run: ct lint --config .github/ct-lint.yaml
|
||||
run: |
|
||||
if grep -q 'templates\|crds\|Chart.yaml\|values.yaml' $HOME/files.txt; then
|
||||
ct lint --config .github/ct-lint.yaml --check-version-increment
|
||||
else
|
||||
ct lint --config .github/ct-lint.yaml
|
||||
fi
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user