From 38a1cdbc0444d917e8b9a5240936bcdec6bebfca Mon Sep 17 00:00:00 2001 From: seaerchin Date: Wed, 27 Mar 2024 23:08:03 +0800 Subject: [PATCH 1/3] ci(mergify): fixup mergify --- .github/mergify.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index b757de7a6..356939cc3 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -4,7 +4,7 @@ pull_request_rules: - author~=^dependabot\[bot\]$ - check-success~=lint - check-success~=test - - title~=bump [^\s]+ from ([\d]+)\..+ to \1\. + - dependabot-update-type = version-update:semver-minor actions: review: type: APPROVE @@ -16,7 +16,8 @@ pull_request_rules: - author=snyk-bot - check-success~=lint - check-success~=test - - title~=^\[Snyk\] + - title~=^\[Snyk\]] + - base = develop actions: review: type: APPROVE From 716bba3b0089a7c7288347bcce5b4f5b04cde1bb Mon Sep 17 00:00:00 2001 From: seaerchin Date: Wed, 27 Mar 2024 23:13:34 +0800 Subject: [PATCH 2/3] chore(mergify): dup rule from fe --- .github/mergify.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 356939cc3..710d99afb 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -35,4 +35,15 @@ pull_request_rules: - title~=(?i)\[wip\] actions: edit: - draft: True \ No newline at end of file + draft: True + + - name: Ping Isomer members for stale open PRs (>1 month since last activity) + conditions: + - updated-at<30 days ago + - -closed + actions: + request_reviews: + teams: + - "@isomerpages/iso-engineers" + comment: + message: This pull request has been stale for more than 30 days! Could someone please take a look at it @isomerpages/iso-engineers From 1cb8198a688932de6bf4d808e5b28c842a0ba6bf Mon Sep 17 00:00:00 2001 From: seaerchin Date: Tue, 2 Apr 2024 19:37:17 +0800 Subject: [PATCH 3/3] refactor(mergify): automerge all non-major updates --- .github/mergify.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 710d99afb..8eb8816e7 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -3,8 +3,9 @@ pull_request_rules: conditions: - author~=^dependabot\[bot\]$ - check-success~=lint + - check-success~=build - check-success~=test - - dependabot-update-type = version-update:semver-minor + - -dependabot-update-type = version-update:semver-minor actions: review: type: APPROVE