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