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
Remove superfluous check for pull request
Oliver Günther5db2af74aea4
diff --git a/script/github_pr_errors b/script/github_pr_errorsindex 5b2cf91df3b..dc5a1f6d724 100755--- a/script/github_pr_errors+++ b/script/github_pr_errors@@ -37,13 +37,7 @@ rescue => ewarn "Failed to perform API request #{url}: #{e} #{e.message}"end-response = get_http "pulls?state=open&head=opf:#{branch_name}"-raise "No PR found" if response.empty?-raise "More than one PR found??" if response.count > 1--pr_number = response.first['number']--warn "Looking for PR #{pr_number}"+warn "Looking for the last action in branch #{branch_name}"response = get_http "actions/runs?branch=#{CGI.escape(branch_name)}"@@ -53,7 +47,7 @@ last_test_action =.select { |entry| entry['name'] == 'Core/Test' }.max_by { |entry| entry['run_number'] }-raise "No action run found for PR #{pr_number}" unless last_test_action+raise "No action run found for branch #{branch_name}" unless last_test_actionlog_response = get_http last_test_action['logs_url'], json: falseerrors = []