Skip to content

Commit 5b6d2c9

Browse files
authored
Disable Python version updates for actions/setup-python from Renovate (#13758)
1 parent d979cf4 commit 5b6d2c9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
"description": "Quarterly update of GitHub Action dependencies",
1818
"schedule": ["every 3 months on the first day of the month"]
1919
},
20+
{
21+
// This package rule disables updates for `actions/setup-python` Python versions:
22+
// it's better to do these manually as there's often a reason why we can't use
23+
// the latest Python version in CI for a specific job
24+
groupName: "Python versions",
25+
matchManagers: ["github-actions"],
26+
matchPackageNames: ["python"],
27+
description: "Disable PRs updating Python versions",
28+
enabled: false,
29+
},
2030
{
2131
"groupName": "most test/lint dependencies",
2232
"matchManagers": ["pip_requirements", "pre-commit"],

0 commit comments

Comments
 (0)