chore: Merge branch dev to main (#53)

This commit is contained in:
LisoUseInAIKyrios authored and GitHub committed 2026-07-06 11:47:03 +03:00
commit f926cdd248
1 file changed
+7
+7
View File
@@ -30,6 +30,13 @@ jobs:
exit 0 exit 0
fi fi
# Check if there are any commits between branches
COMMITS=$(gh api "repos/${{ github.repository }}/compare/${TARGET_BRANCH}...${SOURCE_BRANCH}" --jq '.total_commits')
if [ "$COMMITS" -eq 0 ]; then
echo "No commits between $TARGET_BRANCH and $SOURCE_BRANCH. Skipping PR creation."
exit 0
fi
# Try to create the PR # Try to create the PR
gh pr create \ gh pr create \
--base "$TARGET_BRANCH" \ --base "$TARGET_BRANCH" \