6 Commits

Author SHA1 Message Date
891538554c style(ci): lint action
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 47s
2025-03-31 18:24:30 +02:00
f757aff455 fix(Makefile): add new target 'yamllint' 2025-03-31 18:23:54 +02:00
ba7770fdbd style(editorconfig): set indent style to tab for Makefiles 2025-03-31 18:23:37 +02:00
6e9230d722 style(ci): remove obsolete spaces
Some checks failed
check-and-test / check-and-test (pull_request) Failing after 48s
2025-03-31 18:18:59 +02:00
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
3 changed files with 3 additions and 16 deletions

View File

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

View File

@ -47,17 +47,3 @@ jobs:
git diff --exit-code --name-only README.md git diff --exit-code --name-only README.md
- name: yaml lint - name: yaml lint
uses: https://github.com/ibiqlik/action-yamllint@v3 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