mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-20 19:55:56 +08:00
计图commit补充
This commit is contained in:
@@ -63,6 +63,7 @@ namespace :commit_log_to_db do
|
||||
# "luoyuan <luoyuan7@huawei.com>"
|
||||
commit_author = "#{commiter['name']} <#{commiter['email']}>"
|
||||
commit_sha = commit['sha']
|
||||
next if CommitLog.find_by(commit_id: commit_sha).present?
|
||||
ref = "master"
|
||||
commit_message = commit['commit']['message'].to_s.gsub("/n","").gsub("\"","")
|
||||
user = User.find_by(mail: commiter['email'])
|
||||
|
||||
Reference in New Issue
Block a user