diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index f48d846..70a7e7e 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -54,6 +54,9 @@ jobs: if: "!contains(github.event.head_commit.message, 'skipci')" runs-on: ubuntu-latest needs: [check-semantic-version, run-tests] + permissions: + id-token: write + contents: read steps: - name: Checkout Repository uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9ecdea..59c262a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,9 @@ jobs: publish: needs: release runs-on: ubuntu-latest - + permissions: + id-token: write + contents: read steps: - name: Checkout Repository uses: actions/checkout@v3