From 6588c1c4470769ab3f7c8df1e072abaf274504fe Mon Sep 17 00:00:00 2001 From: Maksim An Date: Fri, 22 Mar 2024 15:00:08 -0700 Subject: [PATCH] Updating permissions and github release action versions (#2078) (#2079) Signed-off-by: Heather Garvison (cherry picked from commit a58b41457cca7c4f08f489e15ca1768ebfd84df5) Co-authored-by: Heather Garvison --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2562173900..5632a24e17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,8 @@ env: jobs: build: + permissions: + contents: write runs-on: "windows-2019" steps: - uses: actions/checkout@v4 @@ -39,7 +41,7 @@ jobs: name: binaries - name: Publish release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2.0.4 with: prerelease: ${{ contains(github.ref, 'rc') }} files: |