Renovate-scheduler #10
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-scheduler | |
| on: | |
| schedule: | |
| - cron: "30 18 * * *" # every day at 18:30 UTC (12:00 AM IST) | |
| workflow_dispatch: | |
| inputs: | |
| logLevel: | |
| description: "Log level" | |
| type: choice | |
| default: "info" | |
| options: | |
| - "info" | |
| - "debug" | |
| - "warn" | |
| dryRun: | |
| description: "Dry-run: full (simulate PRs), lookup (check updates only), extract (parse deps only)" | |
| type: choice | |
| default: "" | |
| options: | |
| - "" | |
| - "full" | |
| - "lookup" | |
| - "extract" | |
| concurrency: renovate | |
| jobs: | |
| renovate: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Validate Renovate config | |
| uses: rinchsan/renovate-config-validator@v0.2.1 | |
| with: | |
| pattern: renovate.json5 | |
| - name: Generate GitHub App token | |
| id: app-token | |
| uses: actions/create-github-app-token@v3 | |
| with: | |
| app-id: ${{ secrets.RENOVATE_APP_ID }} | |
| private-key: ${{ secrets.RENOVATE_PRIVATE_KEY }} | |
| - name: Renovate run | |
| uses: renovatebot/github-action@v46.1.14 | |
| env: | |
| LOG_LEVEL: ${{ inputs.logLevel || 'info' }} | |
| RENOVATE_REPOSITORIES: ${{ github.repository }} | |
| RENOVATE_DRY_RUN: ${{ inputs.dryRun || '' }} | |
| RENOVATE_ONBOARDING: "false" | |
| RENOVATE_USERNAME: "renovatebot-sumologic[bot]" | |
| RENOVATE_GIT_AUTHOR: "renovatebot-sumologic[bot] <279692411+renovatebot-sumologic[bot]@users.noreply.github.com>" | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| configurationFile: renovate.json5 |