Skip to content

Commit

Permalink
Fix: Re-instate id-token write for PyPI publish (#302)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
  • Loading branch information
ModeSevenIndustrialSolutions authored Nov 20, 2024
1 parent e346da2 commit 992ee8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/primary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ jobs:
one_password_item: "op://hdiyadcjno2knqgvcy4wj5ulya/tm2ffuusrynfivtcsnamginhm4/password"
permissions:
contents: read
# Needed for trusted publishing
id-token: write
secrets:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.ONE_PASSWORD_PRODUCTION }}
PYPI_CREDENTIAL: ${{ secrets.PYPI_DEVELOPMENT }}
Expand All @@ -199,6 +201,8 @@ jobs:
one_password_item: "op://hdiyadcjno2knqgvcy4wj5ulya/vds5rebqxeqfrjqwpszxxicmzq/password"
permissions:
contents: read
# Needed for trusted publishing
id-token: write
secrets:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.ONE_PASSWORD_PRODUCTION }}
PYPI_CREDENTIAL: ${{ secrets.PYPI_PRODUCTION }}

0 comments on commit 992ee8f

Please sign in to comment.