Skip to content

Commit

Permalink
Update discord_webhook_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ikseong00 authored Dec 22, 2024
1 parent 7e69c3f commit 9cfbddb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/discord_webhook_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ jobs:
run: |
# Get the PR body and replace newlines with \n
BODY="${{ github.event.pull_request.body }}"
MODIFIED_BODY_TO_JSON = ${{ toJson(BODY) }}
echo "BODY=${{ BODY }}" >> $GITHUB_ENV
- name: to json
run: |
MODIFIED_BODY_TO_JSON = ${{ toJson(env.BODY) }}
# Set the modified body as an environment variable
echo "MODIFIED_BODY_TO_JSON=$MODIFIED_BODY_TO_JSON" >> $GITHUB_ENV
Expand Down

0 comments on commit 9cfbddb

Please sign in to comment.