Skip to content

Commit

Permalink
set up base config for renovate on developer tooling repos (#120)
Browse files Browse the repository at this point in the history
* set up base config for renovate on developer tooling repos

* for major versions ignore untill they are at least 2 weeks old

---------

Co-authored-by: Aaron <[email protected]>
  • Loading branch information
aaronmgdr and aaronmgdr authored Feb 6, 2024
1 parent 0a3a570 commit cf8e012
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,3 +325,18 @@ jobs:
cd $RUNNER_TEMP
npm install $RUNNER_WORKSPACE/developer-tooling/packages/sdk/base/*.tgz
npm install $RUNNER_WORKSPACE/developer-tooling/packages/sdk/utils/*.tgz
validate-renovate-config:
name: Validate Renovate Config
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Validate Renovate Config
run: |
npm install --global renovate
renovate-config-validator
20 changes: 20 additions & 0 deletions dt-renovate-base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>celo-org/.github:renovate-config"
],
"prCreation": "approval",
"prConcurrentLimit": 2,
"minimumReleaseAge": "5 days",
"major": {
"minimumReleaseAge": "14 days"
},
"packageRules": [
{
"matchManagers": ["github-actions"],
"automerge": true,
"autoApprove": "true",
"prCreation": "status-success"
}
]
}
3 changes: 2 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>celo-org/.github:renovate-config"
"local>celo-org/.github:renovate-config",
"local>celo-org/developer-tooling:dt-renovate-base"
]
}

0 comments on commit cf8e012

Please sign in to comment.