dep: Add new workflow upgrade-transitive-deps.yml (#1130)

for upgrading transitive dependencies.

While dependabot is great, it opens one PR for each of these transitive
dependencies, which makes merging harder:
 - have to approve every PR
 - have to click merge when ci is done

it also creates merge queue runs and commits to main, thus creates a lot
of unused caches and unnecessary CI runs.

This PR creates `upgrade-transitive-deps.yml` that creates one PR for
all transitive change per-day.

It also configures dependabot to only `increase-if-necessary`, same as
library crates.

Since we have several library crates in our workspace, this would mean
that we would have less unnecessary deps bump on these library crates.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-06-06 00:09:42 +10:00 committed by GitHub
parent cc87fe062d
commit 76cd4d62c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 4 deletions

View file

@ -12,7 +12,4 @@ updates:
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-name: "*"
# Update all dependencies, including the dependencies of direct dependencies.
dependency-type: "all"
versioning-strategy: increase-if-necessary