This commit is contained in:
kochetkov-ma
2026-03-05 17:29:18 +00:00
parent 4158878db7
commit 7ed7716c90
19 changed files with 141 additions and 205 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- name: Verify tag is on main
run: |
git fetch origin main
if ! git merge-base --is-ancestor "$GITHUB_SHA" origin/main; then
if ! git branch --contains "$GITHUB_SHA" | grep -qE '(^|\s)main$'; then
echo "::error::Tag $GITHUB_REF_NAME is not on the main branch. Skipping release."
exit 1
fi