From 63494f65ff0bebf5a9d696131e8c6ead52c19232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Chrobot?= <124174716+michalChrobot@users.noreply.github.com> Date: Tue, 18 Feb 2025 22:43:54 +0100 Subject: [PATCH] chore: [1.X] Renovate updates integration (#3288) * Added rule to not update major versions * Removal of unused global.json file * Updated dependencies suggested by Renovate * Revereted amannn/action-semantic-pull-request * Reverted com.unity.ai.navigation package bump * Removed minimalproject dependency * Corrected Renovate configuration so to update only packages versions compatible with mimimal supported editor * Updated renovate setup to not update package or testprojects * Reverted packages changes --------- Co-authored-by: Noel Stephens --- .github/renovate.json5 | 19 +++++++++---------- Tools/CI/global.json | 7 ------- com.unity.netcode.gameobjects/package.json | 4 ++-- minimalproject/Packages/manifest.json | 3 +-- 4 files changed, 12 insertions(+), 21 deletions(-) delete mode 100644 Tools/CI/global.json diff --git a/.github/renovate.json5 b/.github/renovate.json5 index acab47d6f0..923b574eed 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -7,12 +7,17 @@ "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/**/*", + "testproject/**/*", + "minimalproject/**/*", + "testproject-tools-integration/**/*", + "Examples/**/*" ], "packageRules": [ @@ -27,13 +32,7 @@ "schedule": [ "every weekend" ], - "rollbackPrs": false - }, - - // Enable automerge for Bokken image updates - { - "matchDatasources": ["unity-bokken"], - "automerge": false, - }, + "rollbackPrs": false, + } ], } diff --git a/Tools/CI/global.json b/Tools/CI/global.json deleted file mode 100644 index 3cb4f9622d..0000000000 --- a/Tools/CI/global.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "sdk": { - "version": "7.0.0", - "rollForward": "latestMinor", - "allowPrerelease": false - } -} diff --git a/com.unity.netcode.gameobjects/package.json b/com.unity.netcode.gameobjects/package.json index 0306a317f9..b69c98f2c8 100644 --- a/com.unity.netcode.gameobjects/package.json +++ b/com.unity.netcode.gameobjects/package.json @@ -5,8 +5,8 @@ "version": "1.12.2", "unity": "2021.3", "dependencies": { - "com.unity.nuget.mono-cecil": "1.10.1", - "com.unity.transport": "1.4.0" + "com.unity.nuget.mono-cecil": "1.10.1", + "com.unity.transport": "1.4.0" }, "samples": [ { diff --git a/minimalproject/Packages/manifest.json b/minimalproject/Packages/manifest.json index 8079b5cadb..ea60805edb 100644 --- a/minimalproject/Packages/manifest.json +++ b/minimalproject/Packages/manifest.json @@ -1,7 +1,6 @@ { "dependencies": { - "com.unity.netcode.gameobjects": "file:../../com.unity.netcode.gameobjects", - "com.unity.transport": "1.5.0" + "com.unity.netcode.gameobjects": "file:../../com.unity.netcode.gameobjects" }, "testables": [ "com.unity.netcode.gameobjects"