Skip to content

Commit 2cc82ca

Browse files
committed
Version bump needs PR permissions
1 parent a47756a commit 2cc82ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/version-bump.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
permissions:
2424
contents: write
25+
pull-requests: write
2526
steps:
2627
- uses: actions/checkout@v4
2728
- name: Set up Python 3.10
@@ -39,8 +40,6 @@ jobs:
3940
git config credential.helper "store --file=.git/credentials"
4041
echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials
4142
42-
bump2version ${{ inputs.bumpLevel }}
43-
4443
echo "##[section]Creating commit on branch 'version-bump'"
4544
git checkout -b version-bump
4645
bump2version ${{ inputs.bumpLevel }}

0 commit comments

Comments
 (0)