Skip to content

Commit

Permalink
feat: add renovate.json & mergify.yml
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <poan.yang@suse.com>
  • Loading branch information
FrankYang0529 authored and bk201 committed Jul 24, 2024
1 parent 5a30aa3 commit 61fafb2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
pull_request_rules:
- name: Automatically merge Renovate PRs
conditions:
- check-success="validation"
- check-success="main_jobs"
- author = renovate[bot]
actions:
merge:
method: rebase

- name: Automatically approve Renovate PRs
conditions:
- check-success="validation"
- check-success="main_jobs"
- author = renovate[bot]
actions:
review:
type: APPROVE

- name: Ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: This pull request is now in conflict. Could you fix it @{{author}}? 🙏
5 changes: 5 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"github>harvester/renovate:renovate-default"
]
}

0 comments on commit 61fafb2

Please sign in to comment.