-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Infrastructure
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Context
Similar to PYTHON-5878, we could add an action in https://github.com/mongodb-labs/drivers-github-tools that would run pre-commit autoupdate and generate a PR with changes as appropriate. We could run it once a week. See https://github.com/Calysto/maintainer_tools#pre-commit-autoupdate for an example from another project that also includes cooldown capabilities to mitigate supply chain attack vulnerabilities. If using the linked action, the PR description would show which hooks were updated.
This would prevent us from getting out of date and needing giant PRs for linting like PYTHON-5858.
Definition of done
The new action is part of a drivers github tools release and is used by all of our repos, pinned to v1. Use the task tacking sheet for coordination.
Pitfalls
None