Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed May 5, 2023
2 parents 144b277 + 9becd75 commit c5b14a7
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 "::set-output name=exists::true"
echo "exists::true" >> $GITHUB_OUTPUT
echo "Changelog already exists for this PR, skip creating a new one"
else
echo "::set-output name=exists::false"
echo "exists::false" >> $GITHUB_OUTPUT
echo "No changelog exists for this PR, creating a new one"
fi
Expand Down

0 comments on commit c5b14a7

Please sign in to comment.