Skip to content

Commit

Permalink
chore: [2.X] Renovate updates integration (#3287)
Browse files Browse the repository at this point in the history
* Removal of unused global.json file

* Updated dependencies suggested by Renovate

* Added rule to not update major versions

* Modified packages according to minimal supported editor

* Corrected Renovate setup to respect editor compatibility

* Downgraded com.unity.test-framework version due to CI failures with newer version

* typo correction

* Reverting package changes

* Corrected renovate setup to not update the package or test projects

---------

Co-authored-by: Noel Stephens <noel.stephens@unity3d.com>
  • Loading branch information
michalChrobot and NoelStephensUnity authored Feb 14, 2025
1 parent 191251d commit f488652
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 24 deletions.
20 changes: 9 additions & 11 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@
"local>Unity-Technologies/unity-renovate-config"
],
"prConcurrentLimit": 100,
// Ignore commits produced by github actions workflows
// Ignore commits produced by GitHub actions workflows
"gitIgnoredAuthors": ["githubaction@githubaction.com"],
"ignorePaths": [
"**/node_modules/**",
// Don't renovate files in special folders using ~ as suffix
"**/*~/**"
"**/*~/**",
"com.unity.netcode.gameobjects/**/*",
"Examples/**/*",
"testproject/**/*",
"minimalproject/**/*",
"testproject-tools-integration/**/*"
],
"packageRules": [

// Run unity-upm-project and unity-upm-package only on weekends to reduce PR noise
// Also ensure dependencies won't be downgraded when they don't exist in the public repositories
{
Expand All @@ -27,13 +31,7 @@
"schedule": [
"every weekend"
],
"rollbackPrs": false
},

// Enable automerge for Bokken image updates
{
"matchDatasources": ["unity-bokken"],
"automerge": false,
},
"rollbackPrs": false,
}
],
}
2 changes: 1 addition & 1 deletion .github/workflows/conventional-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: semantic-pull-request
# Internal Unity mirror available at jesseo/action-semantic-pull-request, but actions from private repos aren't supported, so continue to use the public one below
uses: amannn/action-semantic-pull-request@b7a9a97cb10fa6e1ae02647e718798175f6b1f1d
uses: amannn/action-semantic-pull-request@40166f00814508ec3201fc8595b393d451c8cd80
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
7 changes: 0 additions & 7 deletions Tools/CI/global.json

This file was deleted.

5 changes: 1 addition & 4 deletions minimalproject/Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"dependencies": {
"com.unity.ai.navigation": "2.0.5",
"com.unity.multiplayer.center": "1.0.0",
"com.unity.netcode.gameobjects": "file:../../com.unity.netcode.gameobjects",
"com.unity.modules.accessibility": "1.0.0"
"com.unity.netcode.gameobjects": "file:../../com.unity.netcode.gameobjects"
},
"testables": [
"com.unity.netcode.gameobjects"
Expand Down
2 changes: 1 addition & 1 deletion testproject-tools-integration/Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"com.unity.ai.navigation": "2.0.5",
"com.unity.ide.rider": "3.0.31",
"com.unity.multiplayer.center": "1.0.0",
"com.unity.multiplayer.tools": "https://github.com/Unity-Technologies/com.unity.multiplayer.tools.git#release/1.1.0",
"com.unity.multiplayer.tools": "2.2.3",
"com.unity.netcode.gameobjects": "file:../../com.unity.netcode.gameobjects",
"com.unity.test-framework": "1.4.6",
"com.unity.test-framework.performance": "3.0.3",
Expand Down

0 comments on commit f488652

Please sign in to comment.