Skip to content

Commit

Permalink
wrap with ${{}}
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Jul 4, 2024
1 parent 3df1174 commit 120f84d
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 @@ -39,7 +39,7 @@ jobs:

# If this is a pull request, and the release does not yet exist, the PR title must be "release: <tag>"
- 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 }}')"
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 ${{ toJSON(github.event.pull_request.title) }})'
exit 1
Expand Down

0 comments on commit 120f84d

Please sign in to comment.