Skip to content

Commit 06faa4b

Browse files
committed
fix PR head ref logging
1 parent f94f69d commit 06faa4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/automated_ingestion/eessi_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def _find_pr_for_branch(self, branch_name: str) -> Optional[PullRequest]:
876876

877877
all_prs = list(self.git_repo.get_pulls(state='all'))
878878
for pr in all_prs:
879-
log_message(LoggingScope.TASK_OPS, 'INFO', "PR #{pr.number}: {pr.head.ref}")
879+
log_message(LoggingScope.TASK_OPS, 'INFO', "PR #%d: %s", pr.number, pr.head.ref)
880880

881881
prs = [pr for pr in list(self.git_repo.get_pulls(state='all', head=head_ref))
882882
if pr.number not in filter_prs]

0 commit comments

Comments
 (0)