From 222ca98a41308f49200e0e9c119d583d200827cf Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 7 Jun 2023 08:42:27 -0400 Subject: [PATCH] Add `contents: write` permission to release step (#4911) --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b880f84d4c..1240298e76 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -400,6 +400,8 @@ jobs: permissions: # For pypi trusted publishing id-token: write + # For GitHub release publishing + contents: write steps: - uses: actions/download-artifact@v3 with: @@ -415,7 +417,7 @@ jobs: with: name: binaries path: binaries - - name: Release + - name: "Publish to GitHub" uses: softprops/action-gh-release@v1 with: files: binaries/*