Skip to content

Commit fb70966

Browse files
authored
Use bazelModDeps to update lock file (#47)
1 parent 5fe8ef6 commit fb70966

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/pipeline-bump-renovate-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ jobs:
4848
RENOVATE_AUTODISCOVER: "false"
4949
RENOVATE_ONBOARDING: "false"
5050
RENOVATE_BASE_BRANCHES: ${{ github.ref_name }}
51-
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^bazel mod graph --lockfile_mode=update$"]'
51+
RENOVATE_ALLOWED_UNSAFE_EXECUTIONS: '["bazelModDeps"]'
5252
LOG_LEVEL: info
5353
run: npx --yes renovate

renovate.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"enabled": true
1313
},
1414
"separateMajorMinor": false,
15-
"skipArtifactsUpdate": true,
1615
"prHourlyLimit": 0,
1716
"branchPrefix": "auto/bump-renovate-",
1817
"packageRules": [
@@ -28,11 +27,5 @@
2827
"groupName": "dependencies",
2928
"groupSlug": "deps"
3029
}
31-
],
32-
"postUpgradeTasks": {
33-
"description": "Refresh MODULE.bazel.lock to track the bazel_dep versions Renovate bumped.",
34-
"commands": ["bazel mod graph --lockfile_mode=update"],
35-
"fileFilters": ["MODULE.bazel.lock"],
36-
"executionMode": "branch"
37-
}
30+
]
3831
}

0 commit comments

Comments
 (0)