We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cfbddb commit 28e67d0Copy full SHA for 28e67d0
1 file changed
.github/workflows/discord_webhook_ci.yml
@@ -24,15 +24,13 @@ jobs:
24
- name: Replace newlines in PR body
25
run: |
26
# Get the PR body and replace newlines with \n
27
- BODY="${{ github.event.pull_request.body }}"
28
- echo "BODY=${{ BODY }}" >> $GITHUB_ENV
+ echo "BODY=${{ github.event.pull_request.body }}" >> $GITHUB_ENV
29
30
- name: to json
31
32
- MODIFIED_BODY_TO_JSON = ${{ toJson(env.BODY) }}
33
34
# Set the modified body as an environment variable
35
- echo "MODIFIED_BODY_TO_JSON=$MODIFIED_BODY_TO_JSON" >> $GITHUB_ENV
+ echo "MODIFIED_BODY_TO_JSON=${{ toJson(env.BODY) }}" >> $GITHUB_ENV
36
37
38
- name: Debug Modified Body
0 commit comments