GHA: Skip check on event_name

Make the trigger for publish to PyPi more general
This commit is contained in:
Magne Sjaastad committed 2025-04-08 12:48:22 +02:00
1 parent 3dfa049968
commit 60d2bf0483
1 file changed
+1 -1
+1 -1
View File
@@ -325,7 +325,7 @@ jobs:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
# If this is a tagged release
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.base_ref == 'refs/heads/main'
if: startsWith(github.ref, 'refs/tags') && github.base_ref == 'refs/heads/main'
steps:
- name: Download python distribution folder
uses: actions/download-artifact@v4