Skip to content
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
22 changes: 22 additions & 0 deletions .github/workflows/renovate-config-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Validate

on:
pull_request:
paths:
- 'default.json'
- '.renovaterc.json5'
- 'Makefile'
- '.github/workflows/renovate-config-validate.yml'

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Renovate should pin this in future executions.


- name: Run validation
run: make validate
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.PHONY: validate

validate:
docker run --rm \
-v "$$(pwd):/work" \
-w /work \
ghcr.io/renovatebot/renovate:41 \
renovate-config-validator default.json .renovaterc.json5
2 changes: 1 addition & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"extends": [
"config:recommended",
":semanticCommits",
":gitSignOff",
":rebaseStalePrs",
":configMigration",
":automergeDisabled",
Expand All @@ -18,7 +19,6 @@
"constraints": {
"go": "<1.26"
},
"gitSignOff": true,
"commitMessagePrefix": "build: ",
"postUpdateOptions": [
"gomodTidy",
Expand Down