Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Github Workflow] Logging Failure During Add PR link to Related Jira Issue #4649

Merged
merged 2 commits into from
Nov 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changelog/4649.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"<yellow>Detected Pr: {pr_title=}, {pr_link=}, {pr_body=}</yellow>"
)

# Handle cases where the PR did not intend to add links:
if (
Expand Down
Loading