From 3830e9077064cd0f36c8c781c7a5e082ce108f8a Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 7 May 2024 17:09:21 +0100 Subject: [PATCH] Tell renovate not to try to update GitHub runners (#3427) --- .github/renovate.json5 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 716d26d9a..0d137632f 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -22,9 +22,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"],