Skip to content

Commit 19881fc

Browse files
committed
Update Renovate & CI build setups to be less noisy
1 parent aa0f42d commit 19881fc

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
name: Continuous Integration
1+
name: CI
22
on:
33
push:
4+
branches:
5+
- main
6+
- 'renovate/**'
47
pull_request:
58
jobs:
69
build:
710
runs-on: ubuntu-latest
811
steps:
912
- uses: actions/checkout@v2
10-
- id: nvm
11-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
12-
- uses: actions/setup-node@v2-beta
13+
- uses: actions/setup-node@v2
1314
with:
14-
node-version: '${{ steps.nvm.outputs.NVMRC }}'
15+
node-version-file: '.nvmrc'
1516
- uses: actions/cache@v2
1617
with:
1718
path: ~/.npm

renovate.json5

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
commitMessageTopic: '{{depName}}',
2222
// https://renovatebot.com/docs/configuration-options/#prbodycolumns
2323
prBodyColumns: ['Package', 'Update', 'Type', 'Change'],
24+
// https://renovatebot.com/docs/configuration-options/#schedule
25+
schedule: ['every weekend'],
26+
// Limit the number of consecutive PRs
27+
prHourlyLimit: 2,
28+
// Silently merge updates without PRs
29+
automergeType: 'branch',
2430
// https://renovatebot.com/docs/configuration-options/#rebasestaleprs
2531
rebaseStalePrs: true,
2632
node: {

0 commit comments

Comments
 (0)