renovate/.forgejo/workflows/renovate.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

2024-06-16 01:13:15 -04:00
name: Renovate
on:
push:
branches:
- main
schedule:
- cron: '0 * * * *'
workflow_dispatch:
jobs:
validate-config:
name: Renovate - Validate Config
runs-on: docker
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Unset Git Variables
run: |
unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
- name: Validate Renovate Config
uses: docker://ghcr.io/renovatebot/renovate:39.51.0
2024-06-16 01:13:15 -04:00
with:
args: renovate-config-validator
run-renovate:
name: Renovate
runs-on: docker
needs: validate-config
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Unset Git Variables
run: |
unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
- name: Run Renovate
uses: docker://ghcr.io/renovatebot/renovate:39.51.0
2024-06-16 01:13:15 -04:00
with:
2024-08-02 12:06:28 -04:00
args: renovate
2024-06-16 01:13:15 -04:00
env:
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
GITHUB_COM_TOKEN: ${{ secrets.GIT_COM_TOKEN }}
2024-10-15 00:12:59 -04:00
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}