From 601e0575249539cd4af172480077a779b678c27f Mon Sep 17 00:00:00 2001 From: Sudip Bose Date: Mon, 19 Aug 2024 09:09:04 +0530 Subject: [PATCH] Update: Workflow for creating releases Added write permission to Actions bot --- .github/workflows/release-branch-creation.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release-branch-creation.yml b/.github/workflows/release-branch-creation.yml index 05bc6a3..35e1797 100644 --- a/.github/workflows/release-branch-creation.yml +++ b/.github/workflows/release-branch-creation.yml @@ -14,6 +14,9 @@ on: description: 'Current version (e.g., 1.0.0)' required: true +permissions: + contents: write + jobs: createrelease: runs-on: ubuntu-latest @@ -46,6 +49,8 @@ jobs: echo "::set-output name=commits::${commits}" - name: Push new release branch to origin + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git push origin release/v${{ github.event.inputs.currVersion }}