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

40 lines
1.1 KiB
YAML
Raw Normal View History

2023-10-15 01:11:50 +00:00
name: renovate
on:
schedule:
2023-10-15 02:08:59 +00:00
- cron: "@hourly"
2023-10-15 01:11:50 +00:00
push:
branches:
2023-10-15 01:23:23 +00:00
- master
2023-10-15 01:11:50 +00:00
jobs:
renovate:
runs-on: ubuntu-22.04
container: ghcr.io/renovatebot/renovate:37.36.3
2023-10-15 01:11:50 +00:00
steps:
- uses: actions/checkout@v4
2023-10-15 01:59:57 +00:00
2023-10-15 02:06:41 +00:00
- name: Restore Renovate Cache
id: cache-renovate
uses: actions/cache/restore@v3
with:
path: /tmp/renovate/cache
key: ${{ runner.os }}-renovate-cache
2023-10-15 01:59:57 +00:00
2023-10-15 02:08:59 +00:00
- name: Renovate
run: renovate
2023-10-15 01:11:50 +00:00
env:
2023-10-15 02:04:33 +00:00
#LOG_LEVEL: "debug"
2023-10-15 01:11:50 +00:00
RENOVATE_CONFIG_MIGRATION: "true" # ensure all repositories receive config migration PRs
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
2023-10-15 01:32:03 +00:00
GITHUB_COM_TOKEN: ${{ secrets.GH_TOKEN }}
2023-10-15 01:11:50 +00:00
HUB_DOCKER_COM_USER: ${{ secrets.HUB_DOCKER_COM_USER }}
2023-10-15 01:59:57 +00:00
HUB_DOCKER_COM_TOKEN: ${{ secrets.HUB_DOCKER_COM_TOKEN }}
- name: Save Renovate Cache
id: cache-renovate
uses: actions/cache/save@v3
with:
path: /tmp/renovate/cache
2023-10-15 02:13:38 +00:00
key: ${{ runner.os }}-renovate-cache