Skip to content

Commit

Permalink
ci: add renovate config and proper branch protection
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Nov 24, 2024
1 parent 1843abf commit 581b0bd
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .github/dependabot.yml

This file was deleted.

45 changes: 43 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,49 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:recommended",
":semanticCommits",
":semanticCommitType(deps)"
],
"packageRules": [
{
"description": "Semantic commits for major updates",
"matchUpdateTypes": [
"major"
],
"semanticCommitType": "major",
"semanticCommitScope": "deps",
"automerge": true
},
{
"description": "Semantic commits for minor updates",
"matchUpdateTypes": [
"minor"
],
"semanticCommitType": "minor",
"semanticCommitScope": "deps",
"automerge": true
},
{
"description": "Semantic commits for patch updates",
"matchUpdateTypes": [
"patch"
],
"semanticCommitType": "patch",
"semanticCommitScope": "deps",
"automerge": true
},
{
"description": "Build tool version upgrades",
"matchManagers": [
"github-actions"
],
"semanticCommitType": "ci",
"semanticCommitScope": "tools",
"automerge": true
}
],
"labels": [
"renovate"
]
}
}
3 changes: 2 additions & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ labels:
branches:
- name: master
protection:
required_pull_request_reviews: null
required_status_checks:
strict: true
contexts:
- build
- check
enforce_admins: false
restrictions:
apps:
Expand Down

0 comments on commit 581b0bd

Please sign in to comment.