Skip to content

Commit

Permalink
fix: adjustments to minimize CI costs responsibly
Browse files Browse the repository at this point in the history
  • Loading branch information
hershmire committed Oct 8, 2024
1 parent 15203b8 commit 5170632
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"platformCommit": "enabled",
"automergeType": "pr",
"automergeStrategy": "squash",
"rebaseWhen": "conflicted",
"lockFileMaintenance": {
"enabled": true,
"automerge": true,
Expand Down Expand Up @@ -117,6 +118,12 @@
"description": "Prevent upgrade of Eslint to v9 until updates are made",
"matchPackageNames": ["eslint"],
"allowedVersions": "^8"
},
{
"description": "Disable auto-merge for all major releases",
"matchUpdateTypes": ["major"],
"rebaseWhen": "never",
"automerge": false
}
]
}
2 changes: 2 additions & 0 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"automergeType": "pr",
"automergeStrategy": "squash",
"automerge": true,
"rebaseWhen": "auto",
"packageRules": [
{
"description": "Weekly npm dependencies maintenance (grouped minor + patch updates)",
Expand Down Expand Up @@ -45,6 +46,7 @@
{
"description": "Disable auto-merge for all major releases",
"matchUpdateTypes": ["major"],
"rebaseWhen": "never",
"automerge": false
}
]
Expand Down

0 comments on commit 5170632

Please sign in to comment.