From 4c2c28c5fe9127c35ab0b26b86e1839799f0276a Mon Sep 17 00:00:00 2001 From: zyy17 Date: Mon, 20 May 2024 11:54:23 +0800 Subject: [PATCH] ci: add 'contents: write' permission --- .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 ef0f0df97884..57121fa85447 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,8 +93,10 @@ env: # Note: The NEXT_RELEASE_VERSION should be modified manually by every formal release. NEXT_RELEASE_VERSION: v0.9.0 +# Permission reference: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs permissions: - issues: write + issues: write # Allows the action to create issues for cyborg. + contents: write # Allows the action to create a release. jobs: allocate-runners: