-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.07 KB
/
renovate.yaml
File metadata and controls
40 lines (37 loc) · 1.07 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
name: 🖌️ Renovate
permissions:
contents: read
on:
workflow_dispatch:
inputs:
log-level:
description: "Renovate log level"
required: false
default: 'info'
type: choice
options:
- 'info'
- 'debug'
schedule:
- cron: '0 6 * * WED' # At 06:00 AM, only on Wednesday
jobs:
renovate:
name: Run Renovate
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Get GitHub App token
id: app-token
uses: actions/create-github-app-token@v2
with:
app-id: Iv23liWqEqKI4vhrLE1i # hojmark-renovate Client ID
private-key: ${{ secrets.RENOVATE_APP_PK }}
- name: Run Renovate
run: |
docker run --rm \
-e RENOVATE_LOG_LEVEL=${{ inputs.log_level }} \
-e RENOVATE_PRINT_CONFIG=${{ inputs.log_level != 'info' }} \
-e RENOVATE_PLATFORM=github \
-e RENOVATE_REPOSITORIES=hojmark/drift \
-e RENOVATE_TOKEN=${{ steps.app-token.outputs.token }} \
renovate/renovate:latest