Skip to content

Commit aef6644

Browse files
authored
Merge pull request #72 from renderbox/develop
getting bump2version working
2 parents 06509e4 + f3a175a commit aef6644

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ on:
99

1010
jobs:
1111
bump_version:
12+
name: Bump package version
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: Checkout code
1516
uses: actions/checkout@v4
17+
with:
18+
persist-credentials: false
1619

1720
- name: Set up Python
1821
uses: actions/setup-python@v5
@@ -25,10 +28,13 @@ jobs:
2528
- name: Bump version and commit changes
2629
run: |
2730
bump2version patch
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
2834
- name: Push changes
2935
run: |
30-
git config --global user.email "github-actions@github.com"
31-
git config --global user.name "GitHub Actions"
36+
git config user.name 'github-actions[bot]'
37+
git config user.email 'github-actions[bot]@users.noreply.github.com'
3238
git push
3339
git push --tags
3440
env:

0 commit comments

Comments
 (0)