-
Notifications
You must be signed in to change notification settings - Fork 78
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
Workflow is failing when issue title contains double quotes #122
Comments
@jainpawan21 I think the actual issue is that the embed object that was attempted to be sent by that workflow run was invalid JSON. If one opens that failed job and views the workflow file, it is plainly obvious that user-controlled input (i.e. the issue's title) was passed as-is, without any kind of sanitization, to be used in the DISCORD_EMBEDS argument. Said differently: if you pass in a string that cannot be parsed as valid JSON, what should this action do instead of throwing an error that tells you where your mistake is? |
Facing this issue as well, unable to use ternary in DISCORD_EMBEDS because of this issue as well
|
I tried with single quotes title like
This is 'Github' Title
, It is working fine. But withThis is "Github" Title
workflow is failing.Screenshot:-
The text was updated successfully, but these errors were encountered: