Skip to content

Commit

Permalink
renovate: maintenance renovate config/ci (#2832)
Browse files Browse the repository at this point in the history
* add renovate config validator github action

* renovate allow update node LTS docker image / aggregate testing-env docker image update PR

* Update .github/workflows/renovate-config.yml

Co-authored-by: nitrocode <[email protected]>

* renovate config validate run npx directly

* revert invalid renovate syntax

Co-authored-by: nitrocode <[email protected]>
  • Loading branch information
krrrr38 and nitrocode authored Dec 19, 2022
1 parent cb485f1 commit d33bd0f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,16 @@
},
{
// we need to upgrade testing-env on ci quickly
matchPaths: [".github/**"],
matchPackageNames: ["ghcr.io/runatlantis/testing-env"],
groupName: "testing-env-ci-test",
schedule: ["every 1 hour after 00:00 and before 23:59 every day"],
},
{
// use LTS node version for node docker image
matchDatasources: ["docker"],
matchPackageNames: ["node"],
versioning: "node",
},
],
// https://docs.renovatebot.com/modules/manager/regex/
regexManagers: [
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/renovate-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: renovate-config

on:
push:
paths:
- '.github/renovate.json5'
branches:
- main
pull_request:
paths:
- '.github/renovate.json5'
workflow_dispatch:

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v3
- run: npx --package renovate -c 'renovate-config-validator'

0 comments on commit d33bd0f

Please sign in to comment.