From 56bdcadb5fe9cdd9d4ac7ca8e2339167e2883e6f Mon Sep 17 00:00:00 2001 From: Blair Conrad Date: Tue, 6 Jun 2023 16:41:04 -0400 Subject: [PATCH] Grant publish job the power to create releases The power was removed when we added the ability to write id-tokens --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7add78b..b3d9263 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,8 +75,8 @@ jobs: runs-on: ubuntu-latest permissions: - # IMPORTANT: this permission is mandatory for trusted publishing - id-token: write + contents: write # for creating the release + id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - name: Reject build if release name disagrees with tag