From 412ac22998f73744789a07fdb64599cf5c766169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=B1=E5=91=B1=E5=91=B1?= Date: Tue, 26 Sep 2023 14:46:50 +0800 Subject: [PATCH] check_pr_url add trustie --- app/models/glcc_medium_term_examine_material.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/glcc_medium_term_examine_material.rb b/app/models/glcc_medium_term_examine_material.rb index 2c93784c..b5f6e441 100644 --- a/app/models/glcc_medium_term_examine_material.rb +++ b/app/models/glcc_medium_term_examine_material.rb @@ -24,7 +24,7 @@ class GlccMediumTermExamineMaterial < ActiveRecord::Base state = [] # code_or_pr_url = "https://www.gitlink.org.cn/Gitlink/forgeplus/pulls/337" url_array = code_or_pr_url.split("/") - gitlink_index = url_array.index("www.gitlink.org.cn") || url_array.index("gitlink.org.cn") + gitlink_index = url_array.index("www.gitlink.org.cn") || url_array.index("gitlink.org.cn") || url_array.index("testforgeplus.trustie.net") pull_index = url_array.index("pulls") #发送没有在gitlink上提交PR的邮件