mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-06 01:05:54 -05:00
commit
8ed5e0e4d1
1 changed files with 7 additions and 0 deletions
|
@ -1763,7 +1763,14 @@ LintAnsibleFiles()
|
|||
###############################################################
|
||||
# No need to run the full ansible checks on read only file changes
|
||||
if [ "$READ_ONLY_CHANGE_FLAG" -eq 0 ]; then
|
||||
##########################
|
||||
# Set the array to empty #
|
||||
##########################
|
||||
LIST_FILES=()
|
||||
###################################
|
||||
# Send message that were skipping #
|
||||
###################################
|
||||
echo "- Skipping Ansible lint run as file(s) that were modified were read only..."
|
||||
fi
|
||||
|
||||
##################
|
||||
|
|
Loading…
Reference in a new issue