From bd68729b1bc2ac55ae044500b3faefdc5d03a9d6 Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 19:26:39 -0800 Subject: [PATCH] fix: add content write permission --- .github/workflows/auto-release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index b06c2ef28..b2e26ebf8 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -3,10 +3,6 @@ on: push: branches: - develop - workflow_dispatch: - -permissions: - contents: read jobs: semantic-version: @@ -43,5 +39,7 @@ jobs: release: needs: semantic-version uses: ./.github/workflows/release.yml + permissions: + contents: write with: tag: ${{ needs.semantic-version.outputs.tag }}