forked from zowe/api-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 1.1 KB
/
renovatebot.yml
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
name: Renovate
on:
schedule:
- cron: '0 0 * * 1-5' #UTC
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
container:
image: ghcr.io/renovatebot/renovate
options: --user root # workaround for checkout
steps:
- name: Check out repository
uses: actions/checkout@v4 # using checkout to access workspace
- name: Run Renovate
env:
# RENOVATE_TOKEN should have access :read_user, api, write_repository (repo checkbox)
RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RENOVATE_CONFIG_FILE: ${{ github.workspace }}/renovate_config.js
LOG_LEVEL: debug
run: |
renovate
# - name: Run Renovate for v3.x.x
# env:
# # RENOVATE_TOKEN should have access :read_user, api, write_repository (repo checkbox)
# RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# RENOVATE_CONFIG_FILE: ${{ github.workspace }}/renovate_config.js
# RENOVATE_EXTENDS: '["config:recommended", "group:allNonMajor"]'
# LOG_LEVEL: debug
# run: |
# renovate