Skip to content

Commit

Permalink
Update: Workflow for creating releases
Browse files Browse the repository at this point in the history
Added write permission to Actions bot
  • Loading branch information
s-bose7 committed Aug 19, 2024
1 parent ca30587 commit 601e057
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-branch-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
description: 'Current version (e.g., 1.0.0)'
required: true

permissions:
contents: write

jobs:
createrelease:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 601e057

Please sign in to comment.