Skip to content

Commit

Permalink
Merge pull request #2 from kairos-io/ignore-examples-dir
Browse files Browse the repository at this point in the history
Ignore examples dir
  • Loading branch information
mauromorales authored Jul 4, 2023
2 parents f82d1f5 + 8f5a05c commit d7a9239
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
env:
HADOLINT_VERSION: 2.12.0-alpine
shell: bash
run: find . -name "Dockerfile*" -print | xargs -r -n1 docker run -v "$PWD":/work -w /work "hadolint/hadolint:${HADOLINT_VERSION}" hadolint
run: find . -path "./examples" -prune -o -name "Dockerfile.*" -print | xargs -r -n1 docker run -v "$PWD":/work -w /work "hadolint/hadolint:${HADOLINT_VERSION}" hadolint

- name: renovate-validate
env:
Expand All @@ -28,8 +28,8 @@ runs:
env:
SHELLCHECK_VERSION: v0.9.0
shell: bash
run: find . -name "*.sh" -print | xargs -r -n1 docker run -v "$PWD":/work -w /work "koalaman/shellcheck-alpine:${SHELLCHECK_VERSION}" shellcheck
run: find . -path "./examples" -prune -o -name "*.sh" -print | xargs -r -n1 docker run -v "$PWD":/work -w /work "koalaman/shellcheck-alpine:${SHELLCHECK_VERSION}" shellcheck

- name: yamllint
shell: bash
run: find . -name "*.yml" -or -name "*.yaml" -print | xargs -r -n1 docker run -v "$PWD":/work -w /work cytopia/yamllint
run: find . -path "./examples" -prune -o -name "*.yml" -or -name "*.yaml" -print | xargs -r -n1 docker run -v "$PWD":/work -w /work cytopia/yamllint

0 comments on commit d7a9239

Please sign in to comment.