Fix Linter Errors
This commit is contained in:
parent
367938329d
commit
4cc90c7784
1
.github/workflows/linter.yml
vendored
1
.github/workflows/linter.yml
vendored
@ -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 }}
|
||||||
|
@ -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)" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user