Skip to content

Commit

Permalink
Update build-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kurdin committed Jul 20, 2024
1 parent 5d8a6a6 commit f38c3db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
id: check_changes
run: |
if [ -n "$(ls .changeset/*.md 2>/dev/null)" ]; then
echo "CHANGES_DETECTED"
echo "CHANGESET UPDATE DETECTED"
echo "changes_detected=true" >> $GITHUB_ENV
else
echo "changes_detected=false" >> $GITHUB_ENV
echo "CHANGES NOT DETECTED"
echo "CHANGESET UPDATE NOT DETECTED"
fi
- name: Create Pull Request
Expand All @@ -35,7 +35,6 @@ jobs:
CHANGES_DETECTED: ${{ env.changes_detected }}

run: |
echo "CHANGES_DETECTED=${CHANGES_DETECTED}"
if [ "${CHANGES_DETECTED}" != "true" ]; then
echo "No changesets detected. Skipping version bump and PR creation."
exit 0
Expand Down

0 comments on commit f38c3db

Please sign in to comment.