renovate #324
This file contains 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: | |
- cron: "41 7 * * *" | |
workflow_dispatch: | |
inputs: | |
log_level: | |
type: choice | |
description: Log level to run renovate in | |
required: true | |
default: INFO | |
options: | |
- DEBUG | |
- INFO | |
- WARN | |
- ERROR | |
- FATAL | |
dry_run: | |
type: choice | |
description: | | |
Wether and how to run renovate in dry mode | |
see https://docs.renovatebot.com/self-hosted-configuration/#dryrun | |
required: false | |
default: "" | |
options: | |
- "" | |
- extract | |
- lookup | |
- full | |
jobs: | |
renovate: | |
permissions: | |
contents: write # to be able to publish a GitHub release | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
id-token: write # to enable use of OIDC for npm provenance | |
actions: write # to allow to update files in .github/workflows | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/renovatebot/renovate:37-slim | |
steps: | |
- name: Run renovate | |
run: renovate $GITHUB_REPOSITORY | |
env: | |
RENOVATE_PLATFORM: github | |
RENOVATE_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
RENOVATE_AUTODISCOVER: "false" | |
LOG_LEVEL: ${{ github.event.inputs.log_level || 'INFO' }} | |
RENOVATE_DRY_RUN: ${{ github.event.inputs.dry_run || '' }} |