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

SRE-1782 #166

Merged
merged 1 commit into from
Mar 14, 2024
Merged

SRE-1782 #166

merged 1 commit into from
Mar 14, 2024

Conversation

jablonnc
Copy link
Contributor

Overview

The client_payload input that is passed along as a part of the trigger-workflow-and-wait action uses the PR title as a parameter without escaping it. If the title has double quotes (ex. "SRE-1782 - Test PR title with "double quotes""), it will cause the json to be invalid and cause tests to fail. To address this, we simply need to wrap the parameter in a toJSON expression which will escape the quotes as shown here:

Screenshot 2024-03-14 at 3 13 47 PM

Testing

This was tested in web-dashboards using local actions.

@jablonnc jablonnc requested a review from a team as a code owner March 14, 2024 19:14
@jablonnc jablonnc merged commit 0c55a23 into main Mar 14, 2024
8 checks passed
@jablonnc jablonnc deleted the SRE-1782 branch March 14, 2024 19:27
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.

2 participants