Renovate #807
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 | |
| # Thin caller for the org-wide reusable workflow in laurigates/.github. | |
| # The local copy this replaced predated that repo; it pinned | |
| # renovatebot/github-action itself and reimplemented the dry-run/log-level | |
| # plumbing. Keeping the schedule and the workflow_dispatch inputs here is | |
| # required — `workflow_call` cannot carry a `schedule` trigger. | |
| on: | |
| # Run on schedule (every 6 hours) | |
| schedule: | |
| - cron: '0 */6 * * *' | |
| # Allow manual trigger | |
| workflow_dispatch: | |
| inputs: | |
| dry_run: | |
| description: 'Dry run (log only, no PRs)' | |
| required: false | |
| default: 'false' | |
| type: boolean | |
| log_level: | |
| description: 'Log level' | |
| required: false | |
| default: 'info' | |
| type: choice | |
| options: | |
| - debug | |
| - info | |
| - warn | |
| - error | |
| # The reusable workflow declares its own concurrency group | |
| # (renovate-${{ github.repository }}, cancel-in-progress: false), which | |
| # supersedes the group the local copy declared here. | |
| jobs: | |
| renovate: | |
| name: Renovate | |
| uses: laurigates/.github/.github/workflows/reusable-renovate.yml@main | |
| with: | |
| config-file: renovate.json5 | |
| # dry-run takes a string (false | full | lookup), not a boolean | |
| dry-run: ${{ inputs.dry_run == true && 'full' || 'false' }} | |
| log-level: ${{ inputs.log_level || 'info' }} |