Commit 7f4c4bba by Tấn Trần Thanh

format link pr, issue and show repo not access

parent e5a11b98
Pipeline #1626 canceled with stages
in 0 seconds
...@@ -223,7 +223,7 @@ module WorkflowReport ...@@ -223,7 +223,7 @@ module WorkflowReport
pr[:pr_changed_files] += pr_detail.changed_files pr[:pr_changed_files] += pr_detail.changed_files
end end
rescue StandardError => e rescue StandardError => e
error_links << "##{root_id} Error occurred during the build with the PR link:\r\n - #{link} \r\n - #{e.message.gsub(/(?<=access_token).*/, " #{pr_link_arr[2]}")}" error_links << "##{root_id} Error occurred during the build with the PR link:\r\n - #{link} \r\n - #{e.message.gsub(/(?<=access_token).*/, " #{pr_link_arr[1]}")}"
end end
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment