This commit is contained in:
kochetkov-ma
2026-03-05 18:02:16 +00:00
parent 60a8d18c15
commit fb746d24b3
3 changed files with 15 additions and 45 deletions
+1 -9
View File
@@ -20,15 +20,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Verify tag is on main
run: |
git fetch origin main
if ! git merge-base --is-ancestor "$GITHUB_SHA" origin/main; then
echo "::error::Tag $GITHUB_REF_NAME is not on the main branch. Skipping release."
exit 1
fi
sparse-checkout: RELEASE-NOTES.md
- name: Extract changelog for tag version
id: changelog