File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,21 @@ jobs:
41
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
42
run : |
43
43
gh release create v${{ github.ref_name }} dist/esm-${{ github.ref_name }}.zip
44
+
45
+ - name : Debug - Print environment variables
46
+ run : |
47
+ echo "GITHUB_ACTOR: ${{ github.actor }}"
48
+ echo "GITHUB_ACTOR_ID: ${{ github.actor_id }}"
44
49
45
50
- name : Commit version changes to main branch
46
51
env :
47
52
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
53
run : |
49
- git config user.name "${GITHUB_ACTOR}"
50
- git config user.email "${GITHUB_ACTOR_ID}+$ {GITHUB_ACTOR}@users.noreply.github.com"
54
+ git config user.name "${GITHUB_ACTOR:-github-actions-bot }"
55
+ git config user.email "${GITHUB_ACTOR_ID:+$GITHUB_ACTOR}.$ {GITHUB_ACTOR:-github-actions-bot }@users.noreply.github.com"
51
56
git add pyproject.toml
52
57
git commit -m "Automatically update version number for next development iteration"
53
58
git push origin main
59
+
60
+ # git config user.name "${GITHUB_ACTOR}"
61
+ # git config user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments