From d9c6c2d456f40df5d46d03ec3f613057724abd42 Mon Sep 17 00:00:00 2001 From: Sam <93623258+vekovius@users.noreply.github.com> Date: Thu, 24 Sep 2026 02:35:29 -0500 Subject: [PATCH] ci: prevent manual source manifests from overwriting releases (#1636) Co-authored-by: vekovius --- .github/workflows/source-manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/source-manifest.yml b/.github/workflows/source-manifest.yml index e05ae34f..0131c066 100644 --- a/.github/workflows/source-manifest.yml +++ b/.github/workflows/source-manifest.yml @@ -98,7 +98,7 @@ jobs: path: SOURCE-MANIFEST.txt - name: Attach to release - if: startsWith(github.ref, 'refs/tags/') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') env: GH_TOKEN: ${{ github.token }} run: |