Skip to content

Commit

Permalink
ci: add a workflow to validate renovate config (#1418)
Browse files Browse the repository at this point in the history
This PR defines a new workflow to validate renovate config.
  • Loading branch information
cuixq authored Dec 18, 2024
1 parent c8e82a6 commit 3653a1d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/renovate-validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Renovate Config Validator

on:
push:
branches: [main, v2]
paths:
- "renovate.json"
pull_request:
branches: [main, v2]
paths:
- "renovate.json"

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up Nodes.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: latest

- name: Validate Renovate Config
run: npx --yes --package renovate -- renovate-config-validator

0 comments on commit 3653a1d

Please sign in to comment.