We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d806a08 commit a387c7aCopy full SHA for a387c7a
1 file changed
.github/workflows/discord_webhook_ci.yml
@@ -24,10 +24,9 @@ jobs:
24
- name: Replace newlines and convert to JSON
25
run: |
26
# Get the PR body and replace newlines with \n
27
- BODY=$(echo "${{ github.event.pull_request.body }}" | sed ':a;N;$!ba;s/\n/\\n/g')
28
29
# Convert the modified body to JSON and set it as an environment variable
30
- MODIFIED_BODY_TO_JSON=${{ toJson(BODY) }}
+ MODIFIED_BODY_TO_JSON=${{ toJson(github.event.pull_request.body) }}
31
echo "MODIFIED_BODY_TO_JSON=$MODIFIED_BODY_TO_JSON" >> $GITHUB_ENV
32
33
0 commit comments