Skip to content

DEVOPS-1112: Use Dependabot for pre-commit auto-update - #214

Open
RomFloreani wants to merge 3 commits into
mainfrom
DEVOPS-1112
Open

DEVOPS-1112: Use Dependabot for pre-commit auto-update#214
RomFloreani wants to merge 3 commits into
mainfrom
DEVOPS-1112

Conversation

@RomFloreani

@RomFloreani RomFloreani commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

DEVOPS-1112 - use dependabot for pre-commit autoupdate
Automated update of .github/dependabot.yml

Copilot AI lite review requested due to automatic review settings August 4, 2026 15:31
@github-actions github-actions Bot changed the title Use Dependabot for pre-commit auto-update DEVOPS-1112: Use Dependabot for pre-commit auto-update Aug 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Dependabot support for keeping pre-commit hook revisions up to date, while also adjusting the existing pre-commit.ci autoupdate settings.

Changes:

  • Add a new Dependabot update entry for the pre-commit ecosystem (weekly, grouped updates).
  • Change pre-commit.ci autoupdate target branch to main and reduce its frequency to quarterly.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.pre-commit-config.yaml Updates pre-commit.ci autoupdate branch and cadence.
.github/dependabot.yml Adds pre-commit ecosystem updates (weekly) with grouping/cooldown configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .pre-commit-config.yaml
Comment on lines 6 to +8
ci:
autoupdate_branch: develop
autoupdate_schedule: monthly
autoupdate_branch: main
autoupdate_schedule: quarterly
Comment thread .github/dependabot.yml
Comment on lines +23 to +28
- package-ecosystem: "pre-commit"
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 4
Copilot AI review requested due to automatic review settings August 4, 2026 15:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Suppressed comments (2)

.pre-commit-config.yaml:8

  • With Dependabot now configured to update the pre-commit ecosystem weekly, leaving pre-commit.ci autoupdates enabled is likely to create duplicate/competing PRs that touch the same rev: pins in .pre-commit-config.yaml (and can cause merge conflicts or churn). If the intent is to move autoupdates to Dependabot, consider disabling pre-commit.ci autoupdates here.
ci:
    autoupdate_branch: main
    autoupdate_schedule: quarterly

.github/dependabot.yml:30

  • The commented dependency-name example for pre-commit ignores uses an invalid URL (https://github.com/pre-commit/#mirrors-mypy). If someone later uncomments this, Dependabot won’t match the dependency, and the ignore won’t work.
    #ignore:
    #  - dependency-name: "https://github.com/pre-commit/#mirrors-mypy"
    groups:

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