* ci: add Renovate for automated dependency updates * fix github action version * fix: prevent pre-push protect-main hook from hanging on stdin read
30 lines
671 B
YAML
30 lines
671 B
YAML
name: Renovate
|
|
run-name: Renovate — Dependency Updates
|
|
|
|
on:
|
|
# Run on a schedule (every 6 hours) to discover new updates.
|
|
schedule:
|
|
- cron: "0 */6 * * *"
|
|
# Allow manual runs for testing or forcing an update check.
|
|
workflow_dispatch:
|
|
|
|
# Only one Renovate run at a time.
|
|
concurrency:
|
|
group: renovate
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
renovate:
|
|
name: Renovate
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Run Renovate
|
|
uses: renovatebot/github-action@v46.1.0
|
|
with:
|
|
configurationFile: renovate.json5
|
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
|
env:
|
|
LOG_LEVEL: info
|