mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-24 20:47:54 +00:00
Configure dependabot and associated workflows (#160)
The auto-merge workflow automatically approves dependabot PRs that update dependencies or github actions where the semver difference is at most a minor upgrade. These PRs are then auto-merged once the CI checks have passed. The labeller workflow adds / removes the auto-merge label to make auto-merging more visible in issue lists and to make it possible to filter such PRs. This workflow is unfortunately not triggered when the auto-approve workflow enables auto-merging due to GH anti- recursion rules, so the auto-merge workflow adds the label explicitly.
This commit is contained in:
14
.github/dependabot.yml
vendored
Normal file
14
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: pip
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
open-pull-requests-limit: 10
|
||||
target-branch: main
|
||||
- package-ecosystem: github-actions
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
open-pull-requests-limit: 10
|
||||
target-branch: main
|
||||
Reference in New Issue
Block a user