renovate-config/.gitea/workflows/renovate.yml
2024-02-08 01:10:27 +00:00

39 lines
1.0 KiB
YAML

name: renovate
on:
schedule:
- cron: "@hourly"
push:
branches:
- master
jobs:
renovate:
runs-on: ubuntu-22.04
container: ghcr.io/renovatebot/renovate:37.175.0
steps:
- uses: actions/checkout@v4
- name: Restore Renovate Cache
id: cache-renovate
uses: actions/cache/restore@v4
with:
path: /tmp/renovate/cache
key: ${{ runner.os }}-renovate-cache
- name: Renovate
run: renovate
env:
RENOVATE_CONFIG_MIGRATION: "true" # ensure all repositories receive config migration PRs
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
HUB_DOCKER_COM_USER: ${{ secrets.HUB_DOCKER_COM_USER }}
HUB_DOCKER_COM_TOKEN: ${{ secrets.HUB_DOCKER_COM_TOKEN }}
- name: Save Renovate Cache
id: cache-renovate
uses: actions/cache/save@v4
with:
path: /tmp/renovate/cache
key: ${{ runner.os }}-renovate-cache