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:
- Delete the
pre-commit-update.yml workflow file in the .github/workflows directory
- 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.
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-updateworkflow.However, Dependabot recently added support for pre-commit updates.
Describe the solution you'd like
Remove the use of the
pre-commit-updates.ymlworkflow, and add apre-commitdependabot configuration.Describe alternatives you've considered
Retain old update workflow.
Additional context
To implement this change:
pre-commit-update.ymlworkflow file in the.github/workflowsdirectory.github/dependabot.yml, defining a newpre-commitpackage ecosystem on the/directory. The configuration is the same as the existinggithub-actionsecosystem configuration, except for the name of the ecosystem.