Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ the pull request so the next release gets the right version.
Renovate merges minor, patch and digest updates by itself once the checks
pass. Major updates and proto updates wait for a maintainer.

Once a week Renovate also refreshes `Cargo.lock` within the ranges the
manifests allow and merges that the same way. An indirect dependency has no
line in a manifest, so this refresh is how a fix in one arrives. The lock
file is the repository's own: a function that depends on the SDK resolves
its dependencies itself.

A new version of `prost-build`, `tonic-prost-build` or `pbjson-build` can
change the generated code, and its pull request then fails `codegen-drift`.
Check out the branch, run `cargo run -p codegen`, and push the result to the
Expand Down
5 changes: 3 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "docker:pinDigests", "helpers:pinGitHubActionDigests"],
"lockFileMaintenance": { "enabled": true },
"packageRules": [
{
"description": "Update the example function's build and runtime images in one PR",
Expand All @@ -9,8 +10,8 @@
"groupName": "example function images"
},
{
"description": "Automerge non-major updates and digest pins once CI passes",
"matchUpdateTypes": ["minor", "patch", "digest", "pin", "pinDigest"],
"description": "Automerge non-major updates, digest pins and lock file maintenance once CI passes",
"matchUpdateTypes": ["minor", "patch", "digest", "pin", "pinDigest", "lockFileMaintenance"],
"automerge": true
},
{
Expand Down
Loading