Skip to content

fix(workflows): fix shell escaping syntax error in notify-supabase webhook payload#56

Open
namdamdoi68-oss wants to merge 1 commit into
Nexussyn:mainfrom
namdamdoi68-oss:fix/supabase-webhook-escaping
Open

fix(workflows): fix shell escaping syntax error in notify-supabase webhook payload#56
namdamdoi68-oss wants to merge 1 commit into
Nexussyn:mainfrom
namdamdoi68-oss:fix/supabase-webhook-escaping

Conversation

@namdamdoi68-oss

Copy link
Copy Markdown

This PR fixes the shell escaping syntax error in the Notify Supabase Webhook GitHub Actions workflow. The issue was caused by embedding the entire JSON payload directly into a single-quoted bash command argument, which broke when issue comments contained code snippets, single quotes, or parentheses. We solve this by safely mapping the payload to an environment variable, printing it to a temporary file via printenv, and sending it using curl -d @payload.json.

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.

1 participant