mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 18:43:34 -05:00
commit
030b94e178
2 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,7 @@ function BuildFileList() {
|
|||
# Switch codebase back to the default branch to get a list of all files changed #
|
||||
#################################################################################
|
||||
SWITCH_CMD=$(
|
||||
git -C "$GITHUB_WORKSPACE" pull --quiet
|
||||
# git -C "$GITHUB_WORKSPACE" pull --quiet
|
||||
git -C "$GITHUB_WORKSPACE" checkout "$DEFAULT_BRANCH" 2>&1
|
||||
)
|
||||
|
||||
|
|
|
@ -142,6 +142,9 @@ function LintCodebase() {
|
|||
elif [[ $FILE == *"$TEST_CASE_FOLDER"* ]]; then
|
||||
# This is the test cases, we should always skip
|
||||
continue
|
||||
elif [[ $FILE == *".git"* ]]; then
|
||||
# This is likely the .git folder and shouldnt be parsed
|
||||
continue
|
||||
fi
|
||||
|
||||
##############
|
||||
|
|
Loading…
Reference in a new issue