0
0
mirror of https://github.com/yanhao98/renovate-example.git synced 2026-02-04 15:20:35 +08:00
Files
renovate-example/.github/workflows/检查配置.yaml
Copilot 19a6d70d0f Add Node.js setup step to Renovate workflow (#230)
* Initial plan

* Add actions/setup-node@v6 step after checkout

Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com>

* Add node-version parameter to setup-node step

Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com>

* Update node-version to 'node' for latest version

Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com>

* Update node-version to 'lts/*' for latest LTS

Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: yanhao98 <37316281+yanhao98@users.noreply.github.com>
2025-12-11 02:39:41 +08:00

30 lines
920 B
YAML

name: Check Renovate Configuration
on:
push:
workflow_dispatch:
schedule:
# Runs once weekly at 00:00 UTC on Sunday. GitHub schedule uses UTC time.
- cron: '0 0 * * 0'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
with:
node-version: 'lts/*'
- run: npx --yes --package renovate@latest renovate-config-validator
if: always()
- run: npx --yes --package renovate@latest renovate-config-validator ./default.json5
if: always()
- run: npx --yes --package renovate@latest -- renovate-config-validator ./default.json5 --strict
if: always()
- run: npx --package renovate@latest renovate --platform=local
if: always()
- run: npx --package renovate@latest renovate --platform=local --dry-run=full
if: always()
env:
LOG_LEVEL: debug