This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/.forgejo/workflows/renovate.yaml

47 lines
1.2 KiB
YAML
Raw Normal View History

2023-08-20 17:57:24 -05:00
---
name: Run Renovate
2023-08-20 17:39:01 -05:00
2023-08-20 17:57:24 -05:00
on: [push]
workflow_call:
inputs:
dryRun:
description: "Dry-Run"
default: "false"
required: false
type: string
renovateLogLevel:
description: "Log-Level"
default: "debug"
required: false
type: string
configurationFile:
description: "Renovate configuration file"
default: ".github/renovate.json5"
required: false
type: string
2023-08-20 17:39:01 -05:00
secrets:
2023-08-20 17:57:24 -05:00
app_id:
description: "App ID of the application used to generate a token"
required: true
app_private_key:
description: "Private key of the application used to generate a token"
required: true
jobs:
2023-08-20 17:39:01 -05:00
renovate:
2023-08-20 17:57:24 -05:00
name: Renovate
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: '${{ secrets.token }}'
- name: Renovate
uses: renovatebot/github-action@v39.0.1
env:
DRY_RUN: ${{ inputs.dryRun }}
LOG_LEVEL: ${{ inputs.renovateLogLevel }}
with:
configurationFile: ${{ inputs.configurationFile }}
token: '${{ secrets.token }}'