Skip to content

Commit a9e71a6

Browse files
committed
ci: added renovate-bot workflow
Ticket: DX-2055
1 parent 52eebb1 commit a9e71a6

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/renovate.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>BitGo/gha-renovate-bot//presets/default"],
4+
"baseBranches": ["master"],
5+
"enabledManagers": ["github-actions", "regex", "npm"],
6+
"packageRules": [
7+
{
8+
"description": "Disable all npm dependencies by default",
9+
"matchManagers": ["npm"],
10+
"enabled": false
11+
},
12+
{
13+
"description": "Enable updates only for @bitgo-forks/cryptocurrency-icons",
14+
"matchPackageNames": ["@bitgo-forks/cryptocurrency-icons"],
15+
"enabled": true
16+
}
17+
]
18+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: trigger-renovate-scan
2+
run-name: "trigger-renovate-scan: ${{ github.ref_name }}"
3+
4+
on:
5+
issues:
6+
types: [edited]
7+
issue_comment:
8+
types: [created, edited]
9+
10+
permissions:
11+
id-token: write
12+
contents: read
13+
actions: write
14+
pull-requests: write
15+
16+
jobs:
17+
validate-renovate-action:
18+
uses: BitGo/gha-renovate-bot/.github/workflows/detect-renovate-action.yaml@master
19+
with:
20+
vault-cf-access-client-id: ${{ vars.VAULT_CF_ACCESS_CLIENT_ID }}
21+
secrets:
22+
vault-cf-access-client-secret: ${{ secrets.VAULT_CF_ACCESS_CLIENT_SECRET }}

0 commit comments

Comments
 (0)