mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
commit
091ffc93e5
1 changed files with 6 additions and 1 deletions
|
@ -2008,7 +2008,7 @@ BuildFileList()
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# Switch codebase back to master to get a list of all files changed #
|
# Switch codebase back to master to get a list of all files changed #
|
||||||
#####################################################################
|
#####################################################################
|
||||||
SWITCH_CMD=$(cd "$GITHUB_WORKSPACE" || exit; git checkout master; git fetch 2>&1)
|
SWITCH_CMD=$(cd "$GITHUB_WORKSPACE" || exit; git checkout master; git pull; git fetch 2>&1)
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Load the error code #
|
# Load the error code #
|
||||||
|
@ -2025,6 +2025,11 @@ BuildFileList()
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#########
|
||||||
|
# Print #
|
||||||
|
#########
|
||||||
|
echo "Generating Diff with:[git diff --name-only 'master..$GITHUB_SHA' --diff-filter=d]"
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
# Get the Array of files changed in the comits #
|
# Get the Array of files changed in the comits #
|
||||||
################################################
|
################################################
|
||||||
|
|
Loading…
Reference in a new issue