Skip to content

Commit

Permalink
Chore: escape quotes in release action
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Jul 5, 2023
1 parent 9809612 commit 28fe3e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tag & GitHub release
on:
pull_request_target:
branches:
- main
- dev
types: [closed]

jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
run: |
NEW_VERSION=$(node -p 'require("./package.json").version')
echo "version=v$NEW_VERSION" >> $GITHUB_OUTPUT
echo "${{ github.event.pull_request.body }}" > CHANGELOG.md
echo ${{ toJSON(github.event.pull_request.body) }} > CHANGELOG.md
- name: Create a git tag
if: github.event.pull_request.merged == true
Expand Down

0 comments on commit 28fe3e2

Please sign in to comment.