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

36 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: git.hsn.dev/jahanson/renovate/renovate:39.88.0@sha256:cb765aac5904106a155ad78f403142ff46baced3a8b68ea011f107c9a9723dc2
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-token: ${{ secrets.GH_TOKEN }}
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_PASSWORD }}