name: Renovate
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log Level'
required: true
default: 'info'
type: choice
options:
- info
- debug
- warning
schedule:
- cron: '0 8 */3 * *'
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Generate GitHub token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 id: generate-token
with:
client-id: ${{ secrets.RENOVATE_APP_ID }}
private-key: ${{ secrets.RENOVATE_PRIVATE_KEY }}
- name: Run renovate
uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 env:
LOG_LEVEL: ${{ inputs.logLevel }}
RENOVATE_REPOSITORIES: ${{ github.repository }}
with:
token: ${{ steps.generate-token.outputs.token }}