Skip to content

Commit eb1891c

Browse files
chalmerlowegoogle-labs-jules[bot]gcf-owl-bot[bot]
authored
chore: ignore docs.yml and lint.yml in renovate (#369)
* chore: ignore docs.yml and lint.yml in renovate This change updates renovate.json to prevent renovate-bot from updating the specified workflow files. * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: exclude renovate.json from owlbot updates This ensures that owlbot does not overwrite the changes made to `renovate.json`. * Update owlbot.py * Update owlbot.py --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 83143b8 commit eb1891c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

owlbot.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
".github/workflows/docs.yml", # to avoid overwriting python version
4444
".github/workflows/lint.yml", # to avoid overwriting python version
4545
"noxfile.py",
46+
"renovate.json", # to avoid overwriting the ignorePaths list additions:
47+
# ".github/workflows/docs.yml AND lint.yml" specifically
48+
# the version of python referenced in each of those files.
49+
# Currently renovate bot wants to change 3.10 to 3.13.
4650
]
4751
)
4852

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
":preserveSemverRanges",
66
":disableDependencyDashboard"
77
],
8-
"ignorePaths": [".pre-commit-config.yaml", ".kokoro/requirements.txt", "setup.py", ".github/workflows/unittest.yml"],
8+
"ignorePaths": [".pre-commit-config.yaml", ".kokoro/requirements.txt", "setup.py", ".github/workflows/unittest.yml", ".github/workflows/docs.yml", ".github/workflows/lint.yml"],
99
"pip_requirements": {
1010
"fileMatch": ["requirements-test.txt", "samples/[\\S/]*constraints.txt", "samples/[\\S/]*constraints-test.txt"]
1111
}

0 commit comments

Comments
 (0)