renovate-config/.gitea/workflows/renovate.yml

40 lines
1.0 KiB
YAML
Raw Normal View History

2024-02-01 02:01:10 +00:00
name: renovate
on:
schedule:
- cron: "@hourly"
push:
branches:
- master
jobs:
renovate:
2024-04-17 00:46:12 +00:00
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:38.14.0
2024-02-01 02:01:10 +00:00
steps:
- uses: actions/checkout@v4
2024-04-18 08:34:59 +00:00
- name: Restore Renovate Cache
id: cache-renovate
uses: actions/cache/restore@v4
with:
path: /tmp/renovate/cache
key: ${{ runner.os }}-renovate-cache
2024-02-01 02:01:10 +00:00
- name: Renovate
run: renovate
env:
RENOVATE_CONFIG_MIGRATION: "true" # ensure all repositories receive config migration PRs
2024-04-18 08:34:59 +00:00
#LOG_LEVEL: "debug"
2024-02-01 02:01:10 +00:00
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 }}
2024-04-18 08:34:59 +00:00
- name: Save Renovate Cache
id: cache-renovate
uses: actions/cache/save@v4
with:
path: /tmp/renovate/cache
key: ${{ runner.os }}-renovate-cache