This commit is contained in:
Yakov Olkhovskiy 2024-11-20 22:51:05 +00:00 committed by GitHub
commit d0cb22398d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,7 +286,15 @@ def main():
retcode = process.wait()
if retcode == 0:
logging.info("Run successfully")
upload_corpus(fuzzers_path)
if (
pr_info.number == 0
and pr_info.base_ref == "master"
and pr_info.head_ref == "master"
):
logging.info("Uploading corpus - running in master")
# upload_corpus(fuzzers_path)
else:
logging.info("Not uploading corpus - running in PR")
else:
logging.info("Run failed")