2024-05-15 08:59:54 -05:00
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '*/30 * * * *'
|
2024-07-26 20:53:52 -05:00
|
|
|
push:
|
|
|
|
branches: ["main"]
|
|
|
|
paths: [".forgejo/workflows/renovate.yaml"]
|
2024-10-11 09:48:08 -05:00
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
dryRun:
|
2024-10-11 09:49:51 -05:00
|
|
|
default: false
|
2024-10-11 09:48:08 -05:00
|
|
|
description: Dry Run
|
|
|
|
required: false
|
2024-10-11 09:49:51 -05:00
|
|
|
type: boolean
|
2024-10-11 09:48:08 -05:00
|
|
|
env:
|
|
|
|
RENOVATE_DRY_RUN: "${{ inputs.dryRun == true }}"
|
2025-01-01 17:10:46 -06:00
|
|
|
|
2024-05-15 08:59:54 -05:00
|
|
|
jobs:
|
|
|
|
renovate:
|
|
|
|
name: Renovate
|
2024-11-05 08:57:46 -06:00
|
|
|
runs-on: docker-x86_64
|
2024-05-15 08:59:54 -05:00
|
|
|
container:
|
2025-01-02 04:21:55 -06:00
|
|
|
image: git.hsn.dev/renovate-config/renovate:39.87.0@sha256:3a17d23d6fb3ca2169b079bf2c970cb25567be639ba42bb2064750973b69b83c
|
2024-05-15 08:59:54 -05:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-10-23 11:02:44 -05:00
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
2024-05-15 08:59:54 -05:00
|
|
|
with:
|
|
|
|
show-progress: false
|
|
|
|
- name: Renovate
|
|
|
|
uses: ./.forgejo/actions/renovate
|
|
|
|
with:
|
|
|
|
endpoint: https://git.hsn.dev/api/v1/
|
2025-01-01 18:21:06 -06:00
|
|
|
token: ${{ secrets.RUNAS_USER_TOKEN }}
|
2025-01-01 18:11:00 -06:00
|
|
|
args: --platform gitea --autodiscover
|
|
|
|
github-token: ${{ secrets.GH_TOKEN }}
|
2025-01-01 17:10:46 -06:00
|
|
|
docker-username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
docker-password: ${{ secrets.DOCKER_PASSWORD }}
|