Skip to content

Commit

Permalink
toJSON title in message
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Jul 4, 2024
1 parent 478cca5 commit 3df1174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: 'Pull Request title must be "release: ${{ steps.version.outputs.tag }}"'
if: "(github.event_name == 'pull_request') && !fromJSON(steps.version.outputs.exists) && (github.event.pull_request.title != 'release: ${{ steps.version.outputs.tag }}')"
run: |-
echo 'Please update the PR title to "release: ${{ steps.version.outputs.tag }}" (instead of "${{ github.event.pull_request.title }}")'
echo 'Please update the PR title to "release: ${{ steps.version.outputs.tag }}" (instead of ${{ toJSON(github.event.pull_request.title) }})'
exit 1
# If the release does not yet exist, create a draft release targeting this commit.
Expand Down

0 comments on commit 3df1174

Please sign in to comment.