Skip to content

renovate

renovate #11

Workflow file for this run

name: renovate
on:
workflow_dispatch:
inputs:
log-level:
type: choice
default: DEBUG
options:
- DEBUG
- INFO
- WARN
- ERROR
- FATAL
schedule:
- cron: '0 2 * * *' # Run daily at 2 AM
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm i
- run: pnpm exec nx report
- run: pnpm exec nx run tools-renovate-bot:renovate:ci
env:
RENOVATE_PLATFORM: github
RENOVATE_REPOSITORIES: ${{ github.repository }}
# TODO: maybe the GITHUB_TOKEN can be used instead of a pat
#
# commit statuses: write
# contents: write
# dependabot alerts: read
# issues: write
# metadata: read
# pull requests: write
# workflows: write
# email addresses: read
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
LOG_LEVEL: ${{ github.event_name == 'workflow_dispatch' && inputs.log-level || 'INFO' }}