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>
(cherry picked from commit f4a19bf)
  • Loading branch information
FrankYang0529 authored and mergify[bot] committed Aug 19, 2024
1 parent 73749aa commit f94f561
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
pull_request_rules:
- name: Automatically merge Renovate PRs
conditions:
- check-success="Build ISO Images (x64)"
- check-success="Build ISO Images (arm64)"
- check-success="Build and deploy"
- author = renovate[bot]
actions:
merge:
method: rebase

- name: Automatically approve Renovate PRs
conditions:
- check-success="Build ISO Images (x64)"
- check-success="Build ISO Images (arm64)"
- check-success="Build and deploy"
- 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 f94f561

Please sign in to comment.