forked from zowe/api-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (51 loc) · 2.28 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
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
63
64
# This is a basic workflow to help you get started with Actions
name: Run Renovate
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Run at midnight UTC Monday morning
schedule:
- cron: '0 0 * * 1'
# Push on main branch if needed for rebasing from PRs.
# push:
# branches: main
# Run when there is an update to a PR. This will cleanup branches, and rebase PRs after merges.
# Couple with the "IF" field on the job to limit to updates of the 'renovate/' branches.
pull_request_target:
types:
- closed
- edited
- reopened
jobs:
dependency_scan:
# Requires docker, so we run on a node that is tagged with docker.
# runs-on: [ docker ]
runs-on: [ docker ]
# Execute within the context of the renovate image
container:
image: renovate/renovate:latest
steps:
# Execute using the renovate action
- name: Renovate!
env:
RENOVATE_AUTO_APPROVE: true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Limit Number of active renovate PRs. Default: unlimited
# pr-concurrency: 3
# Limit number of PRs per hour to create. Helpful to slow roll renovate into a repo. Default: unlimited
# pr-hour-limit: 2
# Change when any PRs are generated. Default every Monday
# Update to Tuesdays
# update-schedule: 'on the second day of the week'
# Always create PRs.
update-schedule: ''
# Automatically adds 1 approving PR to any generated renovate PRs.
# Can be useful when 2 approving reviews are required.
pr-auto-approve: true
# User and token used to create approving review.
# Required when pr-auto-approve is true.
# github-approver-token: ${{ secrets.SECP_SASEPORTALDEV_GH_TOKEN }}
# github-approver-user: saseportaldev
package-rules: |-
{ "matchPackagePatterns":[".*"], "matchUpdateTypes":["minor","patch"], "automerge":true }