32 lines
928 B
YAML
32 lines
928 B
YAML
name: renovate
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 */3 * * *"
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/renovatebot/renovate:37.305.0
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: https://gitea.com/actions/checkout@v4
|
|
- run: renovate
|
|
env:
|
|
RENOVATE_CONFIG_FILE: "config.js"
|
|
GITHUB_COM_TOKEN: ${{ secrets.GH_COM_TOKEN }}
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
RENOVATE_ONBOARDING_CONFIG: '{"$$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended"] }'
|
|
|
|
renovate-config-validator:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/renovatebot/renovate:37.305.0
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: https://gitea.com/actions/checkout@v4
|
|
- name: Config check
|
|
run: renovate-config-validator $RENOVATE_CONFIG_VALIDATOR_EXTRA_FLAGS
|