Skip to content

Commit

Permalink
use parens?
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Jul 4, 2024
1 parent da313af commit 478cca5
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' && steps.version.outputs.exists == 'false' && 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 "${{ github.event.pull_request.title }}")'
exit 1
Expand Down

0 comments on commit 478cca5

Please sign in to comment.