renovate-config/.forgejo/workflows/renovate.yaml
2025-01-02 00:24:12 +00:00

37 lines
1.1 KiB
YAML

on:
schedule:
- cron: '*/30 * * * *'
push:
branches: ["main"]
paths: [".forgejo/workflows/renovate.yaml"]
workflow_dispatch:
inputs:
dryRun:
default: false
description: Dry Run
required: false
type: boolean
env:
RENOVATE_DRY_RUN: "${{ inputs.dryRun == true }}"
jobs:
renovate:
name: Renovate
runs-on: docker-x86_64
container:
image: ghcr.io/renovatebot/renovate:39.87.0@sha256:3a17d23d6fb3ca2169b079bf2c970cb25567be639ba42bb2064750973b69b83c
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
show-progress: false
- name: Renovate
uses: ./.forgejo/actions/renovate
with:
endpoint: https://git.hsn.dev/api/v1/
token: ${{ secrets.RUNAS_USER_TOKEN }}
args: --platform gitea --autodiscover
github-username: ${{ secrets.GH_USERNAME }}
github-token: ${{ secrets.GH_TOKEN }}
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_PASSWORD }}