2 Commits

Author SHA1 Message Date
d72d43a51f fix(scripts): shellcheck: SC2181
Some checks failed
check-and-test / check-and-test (pull_request) Failing after 46s
2025-03-31 18:15:59 +02:00
b569e49893 chore(ci): add shellcheck 2025-03-31 18:15:28 +02:00
5 changed files with 8 additions and 27 deletions

View File

@ -9,7 +9,4 @@ indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
[Makefile]
indent_style = tab
insert_final_newline = false

View File

@ -2,13 +2,14 @@ name: Lint Shell files
on:
pull_request:
branches: ["*"]
types: ["opened", "reopened", "synchronize"]
branches: [ "*" ]
types: [ "opened", "edited" ]
workflow_dispatch: {}
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- run: apt update --yes && apt install --yes shellcheck
- run: find . -type f -name "*.sh" -exec shellcheck -a {} \;
- uses: actions/checkout@v4.2.2
- run: apt install shellcheck
- run: find . -type f -name "*.sh" -exec shellcheck -a {} \;

View File

@ -47,17 +47,3 @@ jobs:
git diff --exit-code --name-only README.md
- name: yaml lint
uses: https://github.com/ibiqlik/action-yamllint@v3
helm-schema-values:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Generate values schema json
uses: losisin/helm-values-schema-json-action@v1.6.2
with:
input: values.yaml
- name: Verify values.schema.json
run: |
if ! git diff --exit-code --name-only values.schema.json; then
echo "Please update the values.schema.json and be carefully of breaking changes!" 2&>1
fi

View File

@ -16,7 +16,4 @@ unittests-helm:
.PHONY: helm
update-helm-dependencies:
helm dependency update
.PHONY: yamllint
yamllint:
yamllint -c .yamllint .

View File