renovate-config/.forgejo/workflows/renovate.yaml

31 lines
873 B
YAML

on:
workflow_dispatch:
inputs:
dryRun:
description: Dry Run
default: "false"
required: false
schedule:
- cron: '*/30 * * * *'
env:
RENOVATE_DRY_RUN: "${{ inputs.dryRun == true }}"
jobs:
renovate:
name: Renovate
runs-on: docker
container:
image: ghcr.io/renovatebot/renovate:37.422.1@sha256:8c7b2d1286cab224afd93fbf1ae3c9f844bdedc5f6102d5276317b8f428d81d9
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
show-progress: false
- name: Renovate
uses: ./.forgejo/actions/renovate
with:
endpoint: https://git.hsn.dev/api/v1/
token: ${{ secrets.RENOVATE_TOKEN }}
github-token: ${{ secrets.GH_TOKEN }}
args: --platform gitea --autodiscover
save-cache: true