File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ ignore_missing_version = false
99ignore_missing_files = false
1010tag = false
1111sign_tags = false
12- tag_name = " v{new_version}"
13- tag_message = " Bump version: {current_version} → {new_version}"
12+ # tag_name = "v{new_version}"
13+ # tag_message = "Bump version: {current_version} → {new_version}"
1414allow_dirty = false
1515commit = false
1616message = " Bump version: {current_version} → {new_version}"
17- moveable_tags = []
18- commit_args = " "
19- setup_hooks = []
20- pre_commit_hooks = []
21- post_commit_hooks = []
17+ # moveable_tags = []
18+ # commit_args = ""
19+ # setup_hooks = []
20+ # pre_commit_hooks = []
21+ # post_commit_hooks = []
2222
2323[[tool .bumpversion .files ]]
2424filename = " pyproject.toml"
Original file line number Diff line number Diff line change 1414 pull-requests : write
1515
1616 steps :
17+ - uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
1721 - name : Bump Version
1822 id : bump-version
1923 uses : conjikidow/bump-version@v2.0.0
2327 label-patch : ' Patch'
2428 create-release : ' false'
2529
30+ - name : Auto-merge pull request
31+ if : steps.bump-version.outputs.version-bumped == 'true'
32+ run : gh pr merge --squash --auto "${{ github.event.pull_request.number }}"
33+ env :
34+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+
2636 - name : Debug outputs
2737 run : |
2838 echo "version-bumped=${{ steps.bump-version.outputs.version-bumped }}"
You can’t perform that action at this time.
0 commit comments