check_pr_url add trustie

This commit is contained in:
呱呱呱 2023-09-26 14:46:50 +08:00
parent 0e7ccdf58f
commit 412ac22998
1 changed files with 1 additions and 1 deletions

View File

@ -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的邮件