Skip to content

Commit 2400695

Browse files
ci(pypi): Template-Guard via Repo-Variable PYPI_PUBLISH_ENABLED (#37)
Estate-Workflow-Scan 06-06: Publish-to-PyPI failte bei jedem Release (Trusted Publishing nie konfiguriert, privates Forschungs-Repo). Job laeuft erst, wenn die Repo-Variable explizit auf true gesetzt wird; bis dahin skipped = ehrlich gruen. CHANGELOG: n/a (CI-Infrastruktur). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3b94da9 commit 2400695

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/pypi.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ permissions: {}
88

99
jobs:
1010
build-and-publish:
11+
# [2026-06-06] Template-Guard: Trusted Publishing ist fuer dieses (private
12+
# Forschungs-)Repo auf PyPI nicht konfiguriert -> Job failte bei jedem
13+
# Release ("Trusted publishing exchange failure", 05-21 + 05-28). Aktivierung
14+
# nach echtem PyPI-Setup: Repo-Variable PYPI_PUBLISH_ENABLED=true setzen.
15+
if: vars.PYPI_PUBLISH_ENABLED == 'true'
1116
runs-on: ubuntu-latest
1217
environment:
1318
name: pypi

0 commit comments

Comments
 (0)