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

39 lines
1.1 KiB
YAML
Raw Normal View History

2023-10-15 01:11:50 +00:00
name: renovate
on:
schedule:
- cron: "@daily"
push:
branches:
2023-10-15 01:23:23 +00:00
- master
2023-10-15 01:11:50 +00:00
jobs:
renovate:
2023-10-15 01:22:02 +00:00
runs-on: ubuntu-20.04
container: ghcr.io/renovatebot/renovate:37.19.2
2023-10-15 01:11:50 +00:00
steps:
- uses: actions/checkout@v4
2023-10-15 01:59:57 +00:00
- name: Restore Renovate Cache
id: cache-renovate
uses: actions/cache/restore@v3
with:
path: /tmp/renovate/cache
key: ${{ runner.os }}-renovate-cache
- run: Renovate
2023-10-15 01:11:50 +00:00
env:
2023-10-15 01:25:54 +00:00
#RENOVATE_CONFIG_FILE: "/home/container/rconfig.js"
2023-10-15 01:11:50 +00:00
LOG_LEVEL: "debug"
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
key: ${{ steps.cache-renovate.outputs.cache-primary-key }}