renovate-config/.forgejo/workflows/renovate.yaml
Joseph Hanson 64a4019b66
Some checks failed
/ Renovate (push) Failing after 1s
revamp the action/workflow
2025-01-01 17:10:46 -06: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.86.4@sha256:fc155452003746272f04dac0f8af15018f304cb06ea417b80db5fcb3746ff3ed
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.RENOVATE_TOKEN }}
github-token: ${{ secrets.GH_TOKEN }}
github-username: ${{ secrets.GH_USERNAME }}
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_PASSWORD }}
args: --platform gitea --autodiscover