File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
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 :
You can’t perform that action at this time.
0 commit comments