From 565023070ac5bde79ba580f4e8aa244d801c8780 Mon Sep 17 00:00:00 2001 From: ospab Date: Thu, 14 May 2026 23:20:33 +0300 Subject: [PATCH] CI/CD: Safeguard GitHub Release asset upload step to only execute on Tag pushes, enabling clean verification builds on master branch --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2353821..2390722 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -139,6 +139,7 @@ jobs: tar -czf ../../../${{ matrix.release_name }} ${{ matrix.artifact_name }} - name: Inject artifact to Global GitHub Release Assets + if: ${{ startsWith(github.ref, 'refs/tags/') }} uses: softprops/action-gh-release@v2 with: files: ${{ matrix.release_name }}