34 lines
1003 B
YAML
34 lines
1003 B
YAML
name: renovate
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch: # Allows you to run it manually to test
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
# Setup Node so we can execute renovate natively on the runner workspace
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Run Renovate
|
|
# Pulled from public Docker Hub instead of ghcr.io
|
|
uses: docker://renovate/renovate:38 # Pinning to a major version is usually easier to maintain
|
|
env:
|
|
# This forces the exact system path to be dynamically generated
|
|
LOG_LEVEL: "debug"
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
RENOVATE_ENDPOINT: "https://git.natelubitz.com/api/v1"
|
|
RENOVATE_CONFIG_FILE: "config.js"
|
|
RENOVATE_AUTODISCOVER: "true"
|
|
RENOVATE_PLATFORM: "gitea" |