Skip to content

Commit 94e4517

Browse files
Merge pull request #22 from intelops/feat/renovate
Feat/renovate
2 parents 2df1268 + 36afb36 commit 94e4517

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/renovate.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
2-
"fileMatch": [
3-
"(^|/)[\\w-]*requirements(-\\w+)?\\.(txt|pip)$"
2+
"python": {
3+
"enabled": true
4+
},
5+
"packageRules": [
6+
{
7+
"packagePatterns": ["requirements.txt"],
8+
"matchBaseBranches": ["main"],
9+
"matchManagers": ["pip_requirements"],
10+
"separateMinorPatch": true
11+
}
412
]
5-
}
13+
}

.github/workflows/renovate.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Renovate
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "feat/renovate" ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ "feat/renovate" ]
88
workflow_dispatch:
99

1010
jobs:
@@ -16,4 +16,8 @@ jobs:
1616
- name: Self-hosted Renovate
1717
uses: renovatebot/[email protected]
1818
with:
19-
token: ${{ secrets.RENOVATE_TOKEN }}
19+
configurationFile: .github/renovate.json
20+
token: ${{ secrets.RENOVATE_TOKEN }}
21+
env:
22+
RENOVATE_REPOSITORIES: ${{ github.repository }}
23+
RENOVATE_ONBOARDING: "false"

0 commit comments

Comments
 (0)