Skip to content

Commit c281341

Browse files
committed
[DEVOPS-913] grant access to id-token for OIDC
1 parent f0b85bf commit c281341

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/reusable-python-publish_pypi_package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
publish_package:
100100
name: Publish package
101101
permissions:
102+
id-token: write
102103
contents: read
103104
runs-on: 'ubuntu-latest'
104105
timeout-minutes: 5

.github/workflows/reusable-python-release_pypi_assets.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
publish_pypi_assets:
3636
name: Publish PyPI assets
3737
permissions:
38+
id-token: write
3839
contents: write
3940
if: ${{ github.repository_owner == 'MiraGeoscience' }}
4041
runs-on: 'ubuntu-latest'

0 commit comments

Comments
 (0)