Skip to content

Commit 9210bcf

Browse files
ci: Fix OIDC environment claims for PyPI
1 parent 526ac18 commit 9210bcf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ jobs:
99
build-n-publish:
1010
name: Build and publish Python 🐍 distributions 📦 to PyPI
1111
runs-on: ubuntu-latest
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/p/devagent-cli
1215
permissions:
13-
# This permission is mandatory for trusted publishing
1416
id-token: write
1517
contents: read
1618

@@ -31,6 +33,4 @@ jobs:
3133
- name: Publish package distributions to PyPI
3234
uses: pypa/gh-action-pypi-publish@release/v1
3335
with:
34-
# This points to the environment we configured on PyPI
35-
environment-name: pypi
3636
print-hash: true

0 commit comments

Comments
 (0)