Skip to content

Commit

Permalink
renovate.json (#26)
Browse files Browse the repository at this point in the history
Renovate options, e.g. disable docker renovate, more strict update (e.g. pin only devDependencies)
  • Loading branch information
jvilimek authored Sep 20, 2022
1 parent 2531c9a commit a6763cf
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: CI pipeline

on: [push, pull_request]
on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
build:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/renovate-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Validate renovate.json'

on:
pull_request:
branches:
- main
paths:
- 'renovate.json'
push:
branches:
- main
paths:
- 'renovate.json'

jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Validate
uses: rinchsan/[email protected]
with:
pattern: 'renovate.json'
52 changes: 50 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,54 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>Oriflame/renovate-config"
"config:js-lib",
":rebaseStalePrs",
":automergePatch",
"docker:disable"
],
"assignees": [
"jvilimek"
],
"labels": [
"dependencies"
],
"stabilityDays": 3,
"internalChecksFilter": "strict",
"bumpVersion": "patch",
"packageRules": [
{
"paths": [
"packages/app/package.json"
],
"addLabels": [
"packages"
]
},
{
"paths": [
"packages/backend/package.json"
],
"addLabels": [
"packages"
]
},
{
"description": "In case of eslint package update change the label to [linting]",
"matchPackagePatterns": [
"eslint"
],
"labels": [
"linting"
]
},
{
"description": "In case we have optional dependencies change add [optional] label",
"matchDepTypes": [
"optionalDependencies"
],
"addLabels": [
"optional"
]
}
]
}
}

0 comments on commit a6763cf

Please sign in to comment.