-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (46 loc) · 1.43 KB
/
renovate.yml
File metadata and controls
50 lines (46 loc) · 1.43 KB
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
name: Renovate Self-Hosted
on:
pull_request:
branches:
- main
paths:
- ".github/workflows/renovate.yml"
- "org-inherited-config.json"
schedule:
# Every 6 hours
- cron: "0 */6 * * *"
workflow_dispatch:
inputs:
log-level:
description: "Set the Renovate log level (default: info)"
required: false
default: info
type: choice
options:
- info
- debug
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Get Token
id: get-token
uses: actions/create-github-app-token@7bd03711494f032dfa3be3558f7dc8787b0be333 # v3
with:
app-id: ${{ secrets.RENOVATE_APP_ID }}
private-key: ${{ secrets.RENOVATE_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 1
token: ${{ steps.get-token.outputs.token }}
persist-credentials: false
- name: Self-hosted Renovate
uses: renovatebot/github-action@e23f4d9675532445118c886434f5a34292b630b4 # v46.0.2
env:
RENOVATE_DRY_RUN: ${{ github.event_name == 'pull_request' && 'full' }}
LOG_LEVEL: ${{ github.event.inputs.log-level || 'info' }}
with:
token: ${{ steps.get-token.outputs.token }}
configurationFile: ./renovate-config.json