Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renovate: maintenance renovate config/ci #2832

Merged
merged 6 commits into from
Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nodejs versioning use LTS

https://docs.renovatebot.com/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]
krrrr38 marked this conversation as resolved.
Show resolved Hide resolved
- uses: actions/setup-node@v3
- run: npx --package renovate -c 'renovate-config-validator'