OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Print Pull Request base branch and SHA
Christophe Bliard4be455ef3b0f
diff --git a/script/github_pr_errors b/script/github_pr_errorsindex 9fcca22b4e4..e40c1137de6 100755--- a/script/github_pr_errors+++ b/script/github_pr_errors@@ -543,14 +543,16 @@ class Formatterendend- def display_pull_request_info(workflow_run)+ def display_pull_request_info(workflow_run) # rubocop:disable Metrics/AbcSizereturn unless workflow_run["event"] == "pull_request"if pr = workflow_run["pull_requests"].firstpr_number = "##{pr['number']}"pr_html_url = "#{GITHUB_HTML_OPENPROJECT_PREFIX}/pull/#{pr['number']}"- pr_display_title = "#{workflow_run['display_title']} #{pr_number.white.dark} #{pr_html_url.white.dark}"+ pr_display_title = "#{workflow_run['display_title'].bold} #{pr_number.white.dark} #{pr_html_url.white.dark}"warn " Pull Request: #{pr_display_title} "+ warn " base branch: #{pr.dig('base', 'ref').bold}"+ warn " base SHA: #{pr.dig('base', 'sha').bold}"elsewarn " Pull Request: not found; perhaps it is already merged or closed?"end@@ -618,7 +620,8 @@ class Formatterendrescue Errno::ENOENT => ewarn e- warn "To display image inline, you need to have a compatible terminal like iTerm2 or Konsole, and the 'imgcat' command installed."+ warn "To display image inline, you need to have a compatible terminal like iTerm2 " \+ "or Konsole, and the 'imgcat' command installed."warn "See https://iterm2.com/documentation-images.html to know more."endend