Skip to content

Commit 56f01c6

Browse files
committed
updates to broken github action
1 parent ec20c96 commit 56f01c6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build_release_from_tag.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,21 @@ jobs:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
run: |
4343
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 }}"
4449
4550
- name: Commit version changes to main branch
4651
env:
4752
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4853
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"
5156
git add pyproject.toml
5257
git commit -m "Automatically update version number for next development iteration"
5358
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"

0 commit comments

Comments
 (0)