-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (54 loc) · 2.06 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Renovate
on:
schedule:
- cron: '5 5,11 * * 1,2,3,4,5'
workflow_dispatch:
inputs:
dry_run:
description: 'Run Renovate in dry-run mode'
required: false
type: choice
options:
- 'extract'
- 'lookup'
- 'full'
- 'off'
default: 'off'
permissions: {}
concurrency:
group: renovate
env:
RENOVATE_CONFIGURATION: renovate-runner-config.json
RENOVATE_IMAGE: ghcr.io/renovatebot/renovate
RENOVATE_VERSION: 37.420.1 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Get application token
id: get_token
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
with:
app-id: ${{ secrets.RENOVATE_APP_ID }}
private-key: ${{ secrets.RENOVATE_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Run self-hosted Renovate (Dry Run)
if: ${{ github.event.inputs.dry_run && github.event.inputs.dry_run != 'off' }}
uses: renovatebot/github-action@21d88b0bf0183abcee15f990011cca090dfc47dd # v40.1.12
with:
configurationFile: ${{ env.RENOVATE_CONFIGURATION }}
token: ${{ steps.get_token.outputs.token }}
renovate-image: ${{ env.RENOVATE_IMAGE }}
renovate-version: ${{ env.RENOVATE_VERSION }}
env:
RENOVATE_DRY_RUN: ${{ github.event.inputs.dry_run }}
- name: Run self-hosted Renovate
if: ${{ !github.event.inputs.dry_run || github.event.inputs.dry_run == 'off' }}
uses: renovatebot/github-action@21d88b0bf0183abcee15f990011cca090dfc47dd # v40.1.12
with:
configurationFile: ${{ env.RENOVATE_CONFIGURATION }}
token: ${{ steps.get_token.outputs.token }}
renovate-image: ${{ env.RENOVATE_IMAGE }}
renovate-version: ${{ env.RENOVATE_VERSION }}