Skip to content

Commit bbdd400

Browse files
authored
Fix file_or_dir param (#27)
1 parent c19bd05 commit bbdd400

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/lint.yml

+4
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ jobs:
3232
with:
3333
file_or_dir: test
3434
strict: true
35+
36+
- name: default lint all (continue on error)
37+
continue-on-error: true
38+
uses: ./

entrypoint.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ fi
2424

2525
# Enable globstar so ** globs recursively
2626
shopt -s globstar
27-
# Use the current directory by default
28-
options+=("${INPUT_FILE_OR_DIR:-.}")
29-
shopt -u globstar
3027

31-
yamllint "${options[@]}"
28+
yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.}
29+
30+
shopt -u globstar

0 commit comments

Comments
 (0)