You've already forked helm-actions
Compare commits
2 Commits
feat/schem
...
d72d43a51f
Author | SHA1 | Date | |
---|---|---|---|
d72d43a51f
|
|||
b569e49893
|
@ -9,7 +9,4 @@ indent_size = 2
|
|||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
insert_final_newline = false
|
insert_final_newline = false
|
||||||
|
|
||||||
[Makefile]
|
|
||||||
indent_style = tab
|
|
@ -2,13 +2,14 @@ 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 {} \;
|
@ -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
|
|
5
Makefile
5
Makefile
@ -16,7 +16,4 @@ unittests-helm:
|
|||||||
.PHONY: helm
|
.PHONY: helm
|
||||||
update-helm-dependencies:
|
update-helm-dependencies:
|
||||||
helm dependency update
|
helm dependency update
|
||||||
|
|
||||||
.PHONY: yamllint
|
|
||||||
yamllint:
|
|
||||||
yamllint -c .yamllint .
|
|
Reference in New Issue
Block a user