mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-15 01:01:05 +00:00
skip check in PRs
This commit is contained in:
@@ -33,7 +33,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [[ $CURRENT_TAG == 'main' ]];
|
if [[ $CURRENT_TAG == 'main' ]];
|
||||||
then
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user