ci: prevent manual source manifests from overwriting releases (#1636)

Co-authored-by: vekovius <vekovius@users.noreply.github.com>
This commit is contained in:
Sam 2026-09-24 02:35:29 -05:00 committed by GitHub
parent eae01ef9d8
commit d9c6c2d456
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: |