Skip to content

Deprecate usage of pre-commit-update.yml

@freakboy3742

Description

@freakboy3742

What is the problem or limitation you are having?

Historically, Dependabot hasn't been able update pre-commit configurations. To compensate for this, BeeWare currently uses a custom pre-commit-update workflow.

However, Dependabot recently added support for pre-commit updates.

Describe the solution you'd like

Remove the use of the pre-commit-updates.yml workflow, and add a pre-commit dependabot configuration.

Describe alternatives you've considered

Retain old update workflow.

Additional context

To implement this change:

  1. Delete the pre-commit-update.yml workflow file in the .github/workflows directory
  2. Add a new section to .github/dependabot.yml, defining a new pre-commit package ecosystem on the / directory. The configuration is the same as the existing github-actions ecosystem configuration, except for the name of the ecosystem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, or improvements to existing features.good first issueIs this your first time contributing? This could be a good place to start!
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions