chore(deps): update dependency @upstash/context7-mcp to v1.0.30 (#204) #461
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Renovate Configuration Validation | |
| on: | |
| push: | |
| paths: | |
| - 'renovate.json' | |
| - '.github/workflows/renovate-validation.yml' | |
| - 'test/renovate/**' | |
| - 'npx/**/spec.yaml' | |
| - 'npx/**/spec.yml' | |
| - 'uvx/**/spec.yaml' | |
| - 'uvx/**/spec.yml' | |
| - 'go/**/spec.yaml' | |
| - 'go/**/spec.yml' | |
| pull_request: | |
| paths: | |
| - 'renovate.json' | |
| - '.github/workflows/renovate-validation.yml' | |
| - 'test/renovate/**' | |
| - 'npx/**/spec.yaml' | |
| - 'npx/**/spec.yml' | |
| - 'uvx/**/spec.yaml' | |
| - 'uvx/**/spec.yml' | |
| - 'go/**/spec.yaml' | |
| - 'go/**/spec.yml' | |
| workflow_dispatch: | |
| jobs: | |
| validate-config: | |
| name: Validate Renovate Configuration | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| cache-dependency-path: 'test/renovate/package-lock.json' | |
| - name: Install dependencies | |
| working-directory: test/renovate | |
| run: npm ci || npm install | |
| - name: Validate Renovate config syntax | |
| run: npx --yes --package renovate -- renovate-config-validator | |
| - name: Test regex patterns | |
| working-directory: test/renovate | |
| run: npm test | |
| - name: Check for deprecated config | |
| run: | | |
| npx --yes --package renovate -- renovate-config-validator --strict || { | |
| echo "::warning::Configuration uses deprecated options. Consider migrating." | |
| exit 0 | |
| } | |
| test-dry-run: | |
| name: Test Renovate Dry Run | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 | |
| with: | |
| node-version: '24' | |
| - name: Dry run Renovate | |
| env: | |
| LOG_LEVEL: debug | |
| RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| npx --yes --package renovate -- renovate \ | |
| --platform=github \ | |
| --token="${RENOVATE_TOKEN}" \ | |
| --dry-run=full \ | |
| --print-config \ | |
| --autodiscover=false \ | |
| ${{ github.repository }} || { | |
| echo "::warning::Dry run failed. This might be due to missing permissions or configuration issues." | |
| exit 0 | |
| } |