Commit 3a6db8f
committed
Use the PyPI token secret for DeepGym releases
Switch the DeepGym publish job from trusted publishing to token-based publishing via the pypi environment secret so release tags can publish immediately without additional PyPI-side trusted publisher setup.
Constraint: The current PyPI project rejected GitHub trusted publishing for DeepGym/deepgym with invalid-publisher, while a project-scoped token is now available in the workflow environment
Rejected: Keep trusted publishing and wait for manual PyPI-side reconfiguration | blocks the requested release path right now
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: If trusted publishing is re-enabled later, remove the token path explicitly instead of leaving both mechanisms configured implicitly
Tested: Verified GitHub environment secret PYPI_API_TOKEN exists for DeepGym/deepgym environment pypi
Not-tested: End-to-end publish run on the updated workflow commit before push1 parent fe76101 commit 3a6db8f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| |||
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
| 79 | + | |
| 80 | + | |
0 commit comments