diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 56fa27504b2..1a17a18b402 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -395,6 +395,11 @@ jobs: if: github.event_name == 'push' && contains(github.ref, 'refs/tags') needs: [package, doc-build] runs-on: ubuntu-latest + # Specifying a GitHub environment is optional, but strongly encouraged + environment: release + permissions: + id-token: write + contents: write steps: - name: Release to the public PyPI repository uses: ansys/actions/release-pypi-public@v8