From 800fa44e20c53f91b11556342dc89584bbd6125e Mon Sep 17 00:00:00 2001 From: Hans Date: Mon, 29 Apr 2024 21:31:14 +0800 Subject: [PATCH] ci: setup permissions for draft release --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d28c43f..751dce7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,6 +69,9 @@ jobs: path: bin retention-days: 3 publish: + permissions: + contents: write + pull-requests: read needs: build runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v')