Skip to content

Commit

Permalink
Merge pull request #637 from naher94/version-check-action
Browse files Browse the repository at this point in the history
Update version-check.yml
  • Loading branch information
naher94 authored Feb 13, 2024
2 parents e5b1326 + 53f8419 commit 5c63135
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
echo "Version incremented. Check passed."
else
echo "Error: Version in 'config.yml' was not incremented. Please update the version before merging."
exit 1
exit 1 # This line triggers a failure by exiting with a non-zero code
fi
else
echo "config.yml not modified. Skipping version check."
echo "Error: config.yml not modified in this pull request. Please make changes to config.yml before merging."
exit 1 # This line triggers a failure by exiting with a non-zero code
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5c63135

Please sign in to comment.