diff --git a/.github/workflows/notify_team_new_comment.yml b/.github/workflows/notify_team_new_comment.yml index 0173c320781..d51b6cdf88f 100644 --- a/.github/workflows/notify_team_new_comment.yml +++ b/.github/workflows/notify_team_new_comment.yml @@ -19,7 +19,9 @@ jobs: steps: - name: Escape title double quotes id: escape_title - run: echo "ISSUE_TITLE=${${{ github.event.issue.title }}//\"/\\\"}" >> "$GITHUB_OUTPUT" + run: | + title=${{ github.event.issue.title }} + echo "ISSUE_TITLE=${title//\"/\\\"}" >> "$GITHUB_OUTPUT" - name: Send message to Slack channel env: