skip check in PRs

This commit is contained in:
alvicsam
2025-04-04 11:11:05 +02:00
parent 2c1097ef36
commit ce1766dc64
+7 -1
View File
@@ -33,7 +33,13 @@ jobs:
run: |
if [[ $CURRENT_TAG == 'main' ]];
then
echo "::notice::Tag $CURRENT_TAG is not a release tag, skipping the check";
echo "::notice::Tag $CURRENT_TAG is not a release tag, skipping the check in the main branch";
exit 0
fi
if [[ $CURRENT_TAG != "v"* ]];
then
echo "::error::Tag $CURRENT_TAG is not a release tag, skipping the check in a PR";
exit 0
fi