From 4fd9be2be50ed7a84eb4a3ab95a1995570a79d73 Mon Sep 17 00:00:00 2001 From: shmuel44 Date: Sun, 10 Nov 2024 11:57:29 +0200 Subject: [PATCH 1/2] fix --- .../jira_integration_scripts/link_pr_to_jira_issue.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Utils/github_workflow_scripts/jira_integration_scripts/link_pr_to_jira_issue.py b/Utils/github_workflow_scripts/jira_integration_scripts/link_pr_to_jira_issue.py index b846d3ab014..784c3dd6e58 100644 --- a/Utils/github_workflow_scripts/jira_integration_scripts/link_pr_to_jira_issue.py +++ b/Utils/github_workflow_scripts/jira_integration_scripts/link_pr_to_jira_issue.py @@ -82,7 +82,9 @@ def trigger_generic_webhook(options): password = options.password instance_url = options.url - logger.info(f"Detected Pr: {pr_title=}, {pr_link=}, {pr_body=}") + logger.info( # noqa: PLE1205 + "{}", f"Detected Pr: {pr_title=}, {pr_link=}, {pr_body=}" + ) # Handle cases where the PR did not intend to add links: if ( From 6dee2c9fd80cf57ec2e00cedbc5ed2b067f131b0 Mon Sep 17 00:00:00 2001 From: shmuel44 Date: Sun, 10 Nov 2024 12:03:02 +0200 Subject: [PATCH 2/2] changelog --- .changelog/4649.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .changelog/4649.yml diff --git a/.changelog/4649.yml b/.changelog/4649.yml new file mode 100644 index 00000000000..976326abc14 --- /dev/null +++ b/.changelog/4649.yml @@ -0,0 +1,4 @@ +changes: +- description: Fixed an issue where logging would fail when linking PR to Jira issue in the GitHub workflow step. + type: fix +pr_number: 4649