Skip to content

Commit

Permalink
Configure Renovate (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jun 25, 2022
1 parent 831c201 commit e06f4bf
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"extends": [
"config:base"
],
"prConcurrentLimit": 2,
"semanticCommits": "enabled",
"rangeStrategy": "bump",
"baseBranches": [
"master"
],
"labels": [
"dependencies"
],
"vulnerabilityAlerts": {
"enabled": true,
"automerge": true
},
"packageRules": [
{
"matchPackageNames": [ "typescript", "typescript-min" ],
"matchUpdateTypes": [ "major", "minor" ],
"enabled": false
},
{
"matchPackagePatterns": [ "*" ],
"matchUpdateTypes": [ "minor", "patch" ],
"automerge": true
},
{
"matchPackagePatterns": [ "*" ],
"matchUpdateTypes": [ "major" ],
"enabled": false
}
],
"reviewers": [
"team:devextreme-devops"
],
"ignorePaths": [
".github",
".circleci"
]
}
13 changes: 13 additions & 0 deletions .github/workflows/autoapprove.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Auto approve

on:
pull_request_target

jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2
if: github.actor == 'renovate-bot' || github.actor == 'renovate[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit e06f4bf

Please sign in to comment.