Skip to content

Commit d158a62

Browse files
committed
chore(ci): run renovate with dry-run enabled during PRs
Signed-off-by: Robert Sturla <[email protected]>
1 parent c49e3d6 commit d158a62

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/renovate.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
name: Renovate
22
on:
33
workflow_dispatch:
4+
inputs:
5+
log-level:
6+
description: "Set the Renovate log level (default: info)"
7+
required: false
8+
default: info
9+
type: choice
10+
options:
11+
- info
12+
- debug
13+
pull_request:
14+
branches:
15+
- main
416
schedule:
517
- cron: '3 * * * *'
618
jobs:
@@ -20,6 +32,9 @@ jobs:
2032

2133
- name: Self-hosted Renovate
2234
uses: renovatebot/[email protected]
35+
env:
36+
RENOVATE_DRY_RUN: ${{ github.event_name == 'pull_request' && 'full' }}
37+
LOG_LEVEL: ${{ github.event.inputs.log-level || 'info' }}
2338
with:
2439
configurationFile: renovate-config.js
25-
token: '${{ steps.token.outputs.token }}'
40+
token: '${{ steps.token.outputs.token }}'

0 commit comments

Comments
 (0)