Fix Linter Errors

This commit is contained in:
Stefan Zweifel 2020-10-22 07:37:16 +02:00
parent 367938329d
commit 4cc90c7784
2 changed files with 3 additions and 1 deletions

View File

@ -14,5 +14,6 @@ jobs:
uses: github/super-linter@v3 uses: github/super-linter@v3
env: env:
VALIDATE_ALL_CODEBASE: false VALIDATE_ALL_CODEBASE: false
VALIDATE_MARKDOWN: false
DEFAULT_BRANCH: master DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -29,10 +29,11 @@ _main() {
_switch_to_repository() { _switch_to_repository() {
echo "INPUT_REPOSITORY value: $INPUT_REPOSITORY"; echo "INPUT_REPOSITORY value: $INPUT_REPOSITORY";
cd $INPUT_REPOSITORY; cd "$INPUT_REPOSITORY";
} }
_git_is_dirty() { _git_is_dirty() {
# shellcheck disable=SC2086
[ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ] [ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ]
} }