2024-05-15 08:59:54 -05:00
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '*/30 * * * *'
|
2024-07-26 20:52:24 -05:00
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
dryRun:
|
|
|
|
description: Dry Run
|
|
|
|
default: "false"
|
|
|
|
required: false
|
2024-07-03 01:11:39 -05:00
|
|
|
# env:
|
|
|
|
# RENOVATE_DRY_RUN: "${{ inputs.dryRun == true }}"
|
2024-05-15 08:59:54 -05:00
|
|
|
jobs:
|
|
|
|
renovate:
|
|
|
|
name: Renovate
|
2024-05-20 09:16:29 -05:00
|
|
|
runs-on: docker
|
2024-05-15 08:59:54 -05:00
|
|
|
container:
|
2024-07-25 19:04:31 -05:00
|
|
|
image: ghcr.io/renovatebot/renovate:37.440.7@sha256:1ee424e0ed4d8e64e5bb2d442d6bc72b3809bb9d0cf804f4b7180caa47d6002a
|
2024-05-15 08:59:54 -05:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-06-13 11:35:13 -05:00
|
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
2024-05-15 08:59:54 -05:00
|
|
|
with:
|
|
|
|
show-progress: false
|
2024-07-26 20:49:47 -05:00
|
|
|
- name: Write ssh key
|
|
|
|
id: sshkey
|
|
|
|
uses: https://github.com/timheuer/base64-to-file@v1
|
|
|
|
with:
|
|
|
|
encodedString: "${{ secrets.SSH_USER }}"
|
|
|
|
fileName: id_ed25519
|
|
|
|
fileDir: ~/.ssh
|
2024-05-15 08:59:54 -05:00
|
|
|
- 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
|