This repository was archived by the owner on Jul 30, 2026. It is now read-only.
Renovate #393
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 | |
| on: | |
| schedule: | |
| # daily | |
| - cron: "0 2 * * *" | |
| # allow to manually trigger this workflow | |
| workflow_dispatch: | |
| inputs: | |
| dry-run: | |
| description: "Run Renovate in dry-run mode (no PR)" | |
| required: false | |
| default: false | |
| type: boolean | |
| permissions: {} | |
| jobs: | |
| renovate: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Get token | |
| id: get-github-app-token | |
| uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 | |
| with: | |
| app-id: ${{ secrets.RENOVATE_APP_ID }} | |
| private-key: ${{ secrets.RENOVATE_APP_PEM }} | |
| - name: Self-hosted Renovate | |
| uses: renovatebot/github-action@dd5302ec17783b2fc721b19ae7209b57b1587765 # v46.1.17 | |
| with: | |
| configurationFile: .github/renovate.json5 | |
| token: "${{ steps.get-github-app-token.outputs.token }}" | |
| env: | |
| LOG_LEVEL: ${{ github.event_name == 'workflow_dispatch' && 'debug' || 'info' }} | |
| # Dry run if the event is workflow_dispatch AND the dry-run input is true | |
| RENOVATE_DRY_RUN: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.dry-run == 'true') && 'full' || null }} | |
| RENOVATE_PLATFORM: github | |
| RENOVATE_REPOSITORIES: ${{ github.repository }} |