Skip to content

Commit

Permalink
ci: filter files modified during post-upgrade tasks (#144)
Browse files Browse the repository at this point in the history
Allow only `src/**` and `dist/**` files to be changed by Renovate
post-upgrade tasks. This should prevent unwanted changes to files like
`.npmrc`
  • Loading branch information
Balvajs authored Oct 13, 2023
1 parent bc4356c commit 4dd2034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"matchManagers": ["npm"],
"postUpgradeTasks": {
"commands": ["pnpm install", "pnpm generate", "pnpm package"],
"fileFilters": ["**/*"],
"fileFilters": ["src/**/*", "dist/**/*"],
"executionMode": "branch"
}
}
Expand Down

0 comments on commit 4dd2034

Please sign in to comment.