Merge pull request #603 from ucb-bar/ci-ignore-rename

Use an accurate name for the ci skip list
This commit is contained in:
Colin Schmidt
2020-06-15 10:04:58 -07:00
committed by GitHub

View File

@@ -8,9 +8,9 @@ fi
changes=( `git diff --name-only --cached` )
# Load the patterns we want to skip into an array
mapfile -t blacklist < .ciignore
mapfile -t blocklist < .ciignore
for i in "${blacklist[@]}"
for i in "${blocklist[@]}"
do
# Remove the current pattern from the list of changes
changes=( ${changes[@]/$i/} )