check_pr_url add trustie
This commit is contained in:
parent
0e7ccdf58f
commit
412ac22998
|
@ -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的邮件
|
||||
|
|
Loading…
Reference in New Issue