Skip to content

Commit a0e9b3c

Browse files
aksOpsclaude
andcommitted
Restore PyPI trusted publisher environment for verified publishing
Adds back the environment block with OIDC permissions so PyPI marks the package as published by a verified source. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1afe1e9 commit a0e9b3c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ jobs:
138138
needs: [test-os, test-container]
139139
runs-on: ubuntu-latest
140140
if: inputs.dry_run == false
141+
environment:
142+
name: pypi
143+
url: https://pypi.org/p/osscodeiq
144+
permissions:
145+
id-token: write
146+
attestations: write
141147
steps:
142148
- name: Download artifacts
143149
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)