From 1a392d34e12386026b43565598468a16e09bcd0a Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 7 May 2024 17:02:35 +0100 Subject: [PATCH] Tell renovate not to try to update GitHub runners (#11324) --- .github/renovate.json5 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 69624dcb21..259ab5c1d9 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -27,9 +27,20 @@ // Group upload/download artifact updates, the versions are dependent groupName: "Artifact GitHub Actions dependencies", matchManagers: ["github-actions"], + matchDatasources: ["gitea-tags", "github-tags"], matchPackagePatterns: ["actions/.*-artifact"], description: "Weekly update of artifact-related GitHub Actions dependencies", }, + { + // This package rule disables updates for GitHub runners: + // we'd only pin them to a specific version + // if there was a deliberate reason to do so + groupName: "GitHub runners", + matchManagers: ["github-actions"], + matchDatasources: ["github-runners"], + description: "Disable PRs updating GitHub runners (e.g. 'runs-on: macos-14')", + enabled: false, + }, { groupName: "pre-commit dependencies", matchManagers: ["pre-commit"],