Skip to content

Commit bfc222c

Browse files
authored
Update ci.py
1 parent 2558dfa commit bfc222c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ci/ci.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ def _pre_action(s3, job_name, batch, indata, pr_info):
301301
# testing), otherwise reports won't be found
302302
if not (pr_info.is_scheduled or pr_info.is_dispatched):
303303
report_prefix = Utils.normalize_string(pr_info.head_ref)
304+
elif pr_info.is_pr:
305+
report_prefix = str(pr_info.number)
304306
print(
305307
f"Use report prefix [{report_prefix}], pr_num [{pr_info.number}], head_ref [{pr_info.head_ref}]"
306308
)

0 commit comments

Comments
 (0)