Skip to content

Enable Dependabot updates for pre-commit hooks#4775

Merged
jonathan343 merged 1 commit intodevelopfrom
update-pre-commit
Apr 23, 2026
Merged

Enable Dependabot updates for pre-commit hooks#4775
jonathan343 merged 1 commit intodevelopfrom
update-pre-commit

Conversation

@jonathan343
Copy link
Copy Markdown
Contributor

Summary

Enable Dependabot support for pre-commit hook updates and refresh our current hook pins in .pre-commit-config.yaml.

Why

GitHub added native Dependabot support for pre-commit hooks on March 10, 2026 (source). With this change, Dependabot can now parse .pre-commit-config.yaml and open PRs when hook revisions need to be updated.

This lets us keep our pre-commit tooling current through the same automated workflow we already use for other dependency updates, instead of updating hook versions manually.

Changes

  • Add a pre-commit update entry to .github/dependabot.yml
  • Update .pre-commit-config.yaml to the latest hook revisions
  • Keep hooks pinned using frozen SHAs for reproducibility

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jonathan343 jonathan343 merged commit 4be6bbd into develop Apr 23, 2026
91 checks passed
@jonathan343 jonathan343 deleted the update-pre-commit branch April 23, 2026 22:26
aws-sdk-python-automation added a commit that referenced this pull request Apr 24, 2026
* release-1.42.96:
  Bumping version to 1.42.96
  Add changelog entries from botocore
  chore: enable dependabot for pre-commit and refresh hook pins (#4775)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants