Skip to content

Commit 84c2efa

Browse files
Merge pull request #2 from smokestacklightnin/versioning/renovate/onboard
Versioning/renovate/onboard
2 parents 621ea23 + 239d540 commit 84c2efa

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

.github/workflows/renovate.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Renovate
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
# The "*" (#42, asterisk) character has special semantics in YAML, so this
6+
# string has to be quoted.
7+
- cron: '0/5 * * * *'
8+
jobs:
9+
renovate:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/[email protected]
14+
- name: Self-hosted Renovate
15+
uses: renovatebot/[email protected]
16+
with:
17+
token: ${{ secrets.RENOVATE_TOKEN }}
18+
env:
19+
RENOVATE_REPOSITORIES: "smokestacklightnin/nebari"

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,8 @@ repos:
8282
- id: terraform_fmt
8383
args:
8484
- --args=-write=true
85+
86+
- repo: https://github.com/renovatebot/pre-commit-hooks
87+
rev: 39.17.1
88+
hooks:
89+
- id: renovate-config-validator

renovate.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"packageRules": [
7+
{
8+
"allowedVersions": "<6.0",
9+
"matchPackageNames": [
10+
"hashicorp/google"
11+
]
12+
},
13+
{
14+
"allowedVersions": "<=1.5.0",
15+
"matchPackageNames": [
16+
"hashicorp/terraform"
17+
]
18+
}
19+
]
20+
}

0 commit comments

Comments
 (0)