Commit 1411e009 authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

check-changed: Always rebuild non-PR builds (#4554)

This caused unnecessary build errors.
parent 627e0103
......@@ -58,8 +58,8 @@ def main():
pr_urls = os.getenv('CIRCLE_PULL_REQUESTS', None)
pr_urls = pr_urls.split(',') if pr_urls else []
if len(pr_urls) == 0:
log.info('Not a PR build, skipping build')
exit_nobuild()
log.info('Not a PR build, triggering build')
exit_build()
if len(pr_urls) > 1:
log.warning('Multiple PR URLs found, choosing the first one. PRs found:')
for url in pr_urls:
......
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