Skip to content

Commit

Permalink
chore: setup renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
nekochan0122 committed Aug 28, 2024
1 parent afb6dc4 commit 9a40f88
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Renovate

on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:

jobs:
renovate:
runs-on: ubuntu-latest
steps:
- uses: renovatebot/[email protected]
with:
token: ${{ secrets.GH_TOKEN }}
3 changes: 3 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"releaseRules": [
{"type": "chore", "scope": "deps", "release": false}
]
}
22 changes: 22 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": ["config:base"],
"commitMessagePrefix": "chore(deps):",
"commitMessageAction": "update",
"labels": ["dependencies"],
"packageRules": [
{
"updateTypes": ["patch", "minor"],
"automerge": true,
"semanticCommitType": "chore",
"semanticCommitScope": "deps"
},
{
"updateTypes": ["major"],
"automerge": false,
"semanticCommitType": "chore",
"semanticCommitScope": "deps"
}
],
"prHourlyLimit": 2,
"prConcurrentLimit": 10
}

0 comments on commit 9a40f88

Please sign in to comment.