diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e8afeca..2dd2698 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -32,3 +32,7 @@ jobs: with: file_or_dir: test strict: true + + - name: default lint all (continue on error) + continue-on-error: true + uses: ./ diff --git a/entrypoint.sh b/entrypoint.sh index 7ae3616..a9205ad 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -24,8 +24,7 @@ fi # Enable globstar so ** globs recursively shopt -s globstar -# Use the current directory by default -options+=("${INPUT_FILE_OR_DIR:-.}") -shopt -u globstar -yamllint "${options[@]}" +yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.} + +shopt -u globstar