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

on:
pull_request:
paths:
- ".github/renovate-bot.js"
- ".github/renovate/**"

jobs:
validate:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: Validate renovate-bot.js
if: ${{ hashFiles('.github/renovate-bot.js') != '' }}
run: |
npx --yes renovate-config-validator renovate-bot.js
Copy link
Contributor Author

Choose a reason for hiding this comment

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

とりあえず言われた二か所は直しました。AIに、
変更前:
npx --yes renovate-config-validator renovate-bot.js
変更後:
npx --yes renovate-config-validator .github/renovate-bot.js
にしたらと言われたのですがどうしますか


- name: Validate renovate directory configs
run: |
find .github/renovate -type f -name '*.json' -exec npx --yes renovate-config-validator {} \;