-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.14 KB
/
renovate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
name: "Renovate"
on:
workflow_dispatch:
inputs:
dry-run:
description: "dry-run"
default: "false"
required: false
log-level:
description: "log-level"
default: debug
required: false
schedule:
- cron: "10 * * * 5"
push:
branches: ["main"]
paths:
- .github/renovate-bot.json5
- .github/renovate.json5
env:
LOG_LEVEL: debug
RENOVATE_DRY_RUN: false
jobs:
prepare:
runs-on: ubuntu-latest
outputs:
dry-run: ${{ steps.config.outputs.dry-run }}
log-level: "${{ steps.config.outputs.log-level }}"
steps:
- name: Generate config from dispatch variables or defaults
id: config
run: |
echo "dry-run=${{ github.event.inputs.dry-run || env.RENOVATE_DRY_RUN }}" >> "$GITHUB_OUTPUT"
echo "log-level=${{ github.event.inputs.log-level || env.LOG_LEVEL }}" >> "$GITHUB_OUTPUT"
renovate:
needs: prepare
uses: heathcliff26/ci/.github/workflows/renovate.yaml@main
with:
dry-run: ${{ needs.prepare.outputs.dry-run }}
log-level: "${{ needs.prepare.outputs.log-level }}"
secrets: inherit