Skip to content

Commit

Permalink
chore: configure Renovate (#1539)
Browse files Browse the repository at this point in the history
Adds a config for the Renovate bot inspired by
https://github.com/pulumi/pulumi-cdk/blob/main/renovate.json5

Renovate is not currently succeeding to send working PRs to this
repository (see e.g. #1504) but
the hope is that adding this config brings us one step closer.
  • Loading branch information
t0yv0 authored Dec 18, 2024
1 parent ffe1da5 commit de9bba6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,6 @@ test_provider:
@echo "== test_provider ==================================================================="
@echo ""
cd provider && go test -v -short ./... -parallel $(TESTPARALLELISM)

renovate::
@echo "re-computing dependent files is not implemented yet"
15 changes: 15 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["github>pulumi/renovate-config//default.json5"],
packageRules: [
{
// Update metadata when aws-native is bumped.
matchDatasources: ["npm"],
matchPackageNames: ["@pulumi/aws-native"],
postUpgradeTasks: {
commands: ["make renovate"],
executionMode: "branch", // Only run once.
},
},
]
}

0 comments on commit de9bba6

Please sign in to comment.