Skip to content

Commit 01d25f2

Browse files
committed
fix: update GitHub Actions workflow to use dynamic user configuration and restore version to 0.1.15
1 parent 87a7c92 commit 01d25f2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
with:
2121
ref: main
2222
fetch-depth: 0
23-
token: ${{ secrets.GITHUB_TOKEN }}
2423

2524
- name: Set up Python
2625
uses: actions/setup-python@v5
@@ -38,8 +37,8 @@ jobs:
3837
3938
- name: Commit changes
4039
run: |
41-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
42-
git config --local user.name "github-actions[bot]"
40+
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
41+
git config --local user.name "${{ github.actor }}"
4342
git add mineru_vl_utils/version.py
4443
if git diff-index --quiet HEAD; then
4544
echo "No changes to commit"
@@ -50,6 +49,8 @@ jobs:
5049

5150
- name: Push changes
5251
if: steps.commit_changes.outcome == 'success'
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5354
run: |
5455
git push origin HEAD:main
5556

mineru_vl_utils/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.16"
1+
__version__ = "0.1.15"

0 commit comments

Comments
 (0)