mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
Bugfixing ignore mechanism
This commit is contained in:
@@ -69,11 +69,9 @@ if _git_changed; then
|
||||
_git_setup
|
||||
|
||||
# Ignore node modules and other action created files
|
||||
echo "*/node_modules/*
|
||||
package-lock.json
|
||||
package.json
|
||||
" >> .git/info/exclude
|
||||
git update-index --assume-unchanged node_modules/ package-lock.json
|
||||
git update-index --skip-worktree package.json
|
||||
git update-index --skip-worktree node_modules/
|
||||
git update-index --skip-worktree package-lock.json
|
||||
|
||||
if $INPUT_ONLY_CHANGED; then
|
||||
# --diff-filter=d excludes deleted files
|
||||
|
||||
Reference in New Issue
Block a user