Skip to content

Commit 28e67d0

Browse files
authored
Update discord_webhook_ci.yml
1 parent 9cfbddb commit 28e67d0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/discord_webhook_ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,13 @@ jobs:
2424
- name: Replace newlines in PR body
2525
run: |
2626
# Get the PR body and replace newlines with \n
27-
BODY="${{ github.event.pull_request.body }}"
28-
echo "BODY=${{ BODY }}" >> $GITHUB_ENV
27+
echo "BODY=${{ github.event.pull_request.body }}" >> $GITHUB_ENV
2928
3029
- name: to json
3130
run: |
32-
MODIFIED_BODY_TO_JSON = ${{ toJson(env.BODY) }}
3331
3432
# Set the modified body as an environment variable
35-
echo "MODIFIED_BODY_TO_JSON=$MODIFIED_BODY_TO_JSON" >> $GITHUB_ENV
33+
echo "MODIFIED_BODY_TO_JSON=${{ toJson(env.BODY) }}" >> $GITHUB_ENV
3634
3735
3836
- name: Debug Modified Body

0 commit comments

Comments
 (0)