From 7922f6144ee2a65ad59d280dcf59a5c57f4f746f Mon Sep 17 00:00:00 2001 From: phil65 Date: Tue, 17 Oct 2023 01:37:15 +0200 Subject: [PATCH] build: add permissions to deploy pipeline --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f1970e36..a6cf99ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,10 @@ jobs: runs-on: ubuntu-latest needs: test if: startsWith(github.ref, 'refs/tags/') - + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write + contents: write steps: - uses: actions/checkout@v3 - name: Set up Python