Skip to content

ci: ignore yarn & bazel updates #2784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions renovate-presets/default.json5
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
// Ignored dependencies in all repositories
"ignoreDeps": [
"build_bazel_rules_nodejs",
"rules_pkg"
"rules_pkg",
"yarn" // Yarn is copied locally in all repositories where needed.
],

"packageRules": [
Expand All @@ -39,7 +40,7 @@
// Group all non-major updates (minor and patch) together
{
"groupName": "all non-major dependencies",
"matchPackageNames": [
"matchDepNames": [
"*",
"!node",
"!pnpm",
Expand Down Expand Up @@ -69,7 +70,7 @@
"followTag": "next",
"separateMajorMinor": false,
"schedule": ["at any time"],
"matchPackageNames": [
"matchDepNames": [
"@angular-devkit/**",
"@angular/**",
"@schematics/**",
Expand All @@ -86,19 +87,19 @@

// Keep minor and patch updates separate for TypeScript
{
"matchPackageNames": ["typescript"],
"matchDepNames": ["typescript"],
"separateMinorPatch": true
},

// Group TypeScript-related packages
{
"groupName": "typescript dependencies",
"matchPackageNames": ["typescript", "tslib"]
"matchDepNames": ["typescript", "tslib"]
},

// Limit how many times these packages get updated (They deploy each merged PR)
{
"matchPackageNames": ["renovate", "quicktype-core"],
"matchDepNames": ["renovate", "quicktype-core"],
"schedule": ["on sunday and wednesday"]
},

Expand All @@ -110,7 +111,7 @@
{
"groupName": "scorecard action dependencies",
"matchFileNames": [".github/workflows/scorecard.yml"],
"matchPackageNames": ["*"]
"matchDepNames": ["*"]
},

// ============================================================================
Expand All @@ -126,8 +127,9 @@
// Disable major updates for specified dependencies
{
"enabled": false,
"matchPackageNames": [
"matchDepNames": [
"@types/node",
"bazel",
"node",
"npm",
"pnpm",
Expand All @@ -141,7 +143,7 @@
// Disable TypeScript major and minor updates
{
"enabled": false,
"matchPackageNames": ["typescript"],
"matchDepNames": ["typescript"],
"matchUpdateTypes": ["major", "minor"]
}
]
Expand Down