generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
Summary
The Slack issue notification workflow fails when issue bodies contain double quotes, causing a SlackError: Invalid input! Failed to parse contents of the provided payload error.
Problem
In .github/workflows/slack-issue-notification.yml line 21, the issue body is wrapped in double quotes:
issue_body: "${{ github.event.issue.body }}"When the issue body contains double quotes (e.g., deprecation messages like "save_turn() is deprecated..."), it breaks the YAML payload parsing.
Solution
Use toJSON() to properly escape the content:
issue_body: ${{ toJSON(github.event.issue.body) }}Location
Metadata
Metadata
Assignees
Labels
No labels