Skip to content

Commit

Permalink
Fix command not working for string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
MisRob committed Feb 22, 2024
1 parent 75609f6 commit 8786785
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/notify_team_new_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8786785

Please sign in to comment.