From 9608e9659b1f062bb09915f3ef1c538ca7cb5c5f Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 26 Apr 2023 15:08:58 -0300 Subject: [PATCH] Update permissions for deploy workflow --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index df63d45..8cf22d3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,7 +14,8 @@ jobs: runs-on: ubuntu-latest environment: deploy permissions: - id-token: write # For PyPI trusted publishers. + id-token: write # For PyPI trusted publishers. + contents: write # For tag and release notes. env: SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.event.inputs.version }}