Skip to content

Commit cc6bf01

Browse files
authored
chore: set renovate to run monthly (#666)
* chore: set renovate to run monthly * chore: apply `renovate-config-validator` recommendations * chore: add renovate validator
1 parent 6e10f77 commit cc6bf01

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.github/workflows/pr-title-validator.yml renamed to .github/workflows/validator.yml

+22-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR Title Validator
1+
name: Validators
22

33
on:
44
pull_request:
@@ -29,3 +29,24 @@ jobs:
2929
if (!match.groups.subject) {
3030
core.setFailed('Missing subject in PR title');
3131
}
32+
33+
renovate:
34+
name: Validate Renovate config
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v4
38+
39+
- uses: actions/setup-node@v3
40+
with:
41+
node-version-file: .nvmrc
42+
43+
- uses: pnpm/action-setup@v2
44+
name: Install pnpm
45+
id: pnpm-install
46+
with:
47+
run_install: false
48+
49+
- run: pnpm install --global renovate
50+
51+
- name: Validate Renovate config
52+
run: renovate-config-validator

renovate.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:base"],
3+
"extends": ["config:recommended"],
44
"labels": ["dependency"],
55
"prConcurrentLimit": 5,
6-
"rangeStrategy": "pin"
6+
"rangeStrategy": "pin",
7+
"schedule": ["monthly"]
78
}

0 commit comments

Comments
 (0)