Skip to content

Commit

Permalink
fix bug with equals
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed May 5, 2023
1 parent c5b14a7 commit 22b7061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ runs:
declare RESULT=$(git diff --name-only ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.base.sha }})
echo $RESULT
if echo $RESULT | grep '.changes/unreleased/.*.yaml'; then
echo "exists::true" >> $GITHUB_OUTPUT
echo "exists=true" >> $GITHUB_OUTPUT
echo "Changelog already exists for this PR, skip creating a new one"
else
echo "exists::false" >> $GITHUB_OUTPUT
echo "exists=false" >> $GITHUB_OUTPUT
echo "No changelog exists for this PR, creating a new one"
fi
Expand Down

0 comments on commit 22b7061

Please sign in to comment.