Skip to content

Fix: Enclose SET_ISSUE_ID with single quotes#53

Merged
askb merged 1 commit into
lfit:mainfrom
keanjapesan:fix-issueid
Sep 17, 2025
Merged

Fix: Enclose SET_ISSUE_ID with single quotes#53
askb merged 1 commit into
lfit:mainfrom
keanjapesan:fix-issueid

Conversation

@keanjapesan

Copy link
Copy Markdown
Contributor

This will allow passing more complex strings through the SET_ISSUE_ID variable, some projects like ONAP require a title before the real Issue ID, e.g. "Issue-ID: CIMAN-33"

Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
@askb askb requested a review from Copilot September 17, 2025 07:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a shell scripting issue by adding single quotes around the SET_ISSUE_ID environment variable in a conditional check, enabling the variable to contain complex strings with spaces and special characters as required by ONAP projects.

  • Added single quotes around ${{ env.SET_ISSUE_ID }} in the bash conditional statement

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@askb askb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is required, if this is tested then lets go ahead.

@askb askb merged commit 69352b6 into lfit:main Sep 17, 2025
34 checks passed
@keanjapesan

keanjapesan commented Sep 17, 2025

Copy link
Copy Markdown
Contributor Author

Yes I tested it in my fork. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants