diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 744051d..637e3c8 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -2,7 +2,7 @@ name: Release to PyPI on: release: - types: [created] + types: [published] jobs: deploy: @@ -11,6 +11,7 @@ jobs: name: pypi url: https://pypi.org/p/cdp-sdk permissions: + contents: read id-token: write steps: - uses: actions/checkout@v3