From 1ea951c31565b376ace6903c38e38fd5d493ae09 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Mon, 20 May 2024 14:23:54 +0800 Subject: [PATCH] ci: add 'contents: write' permission (#3989) --- .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: