Updating the ignore mechanism

This commit is contained in:
2021-02-19 18:40:27 +01:00
parent 3b82dd7e95
commit c5dd36440f

View File

@@ -69,11 +69,11 @@ if _git_changed; then
_git_setup
# Ignore node modules and other action created files
echo "/node_modules/
echo "*/node_modules/*
package-lock.json
package.json
" >> .git/info/exclude
git update-index --assume-unchanged */node_modules/* package.json package-lock.json
git update-index --assume-unchanged node_modules/ package.json package-lock.json
if $INPUT_ONLY_CHANGED; then
# --diff-filter=d excludes deleted files