You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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 ${{ steps.step1.outcome == "success" && "pass" || "failed" }}
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: