Skip to content

Commit 62b9a6e

Browse files
committed
build(ci): fix update release metadata
1 parent 8b1fda2 commit 62b9a6e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/update-release-metadata.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@ jobs:
2727
https://api.github.com/repos/tursodatabase/turso-client-php/releases/latest \
2828
-o release_metadata.json
2929
30+
- name: Configure git
31+
run: |
32+
git config --global user.email "[email protected]"
33+
git config --global user.name "darkterminal"
34+
3035
- name: Commit and push if changed
36+
env:
37+
GITHUB_TOKEN: ${{ env.TOKEN_VALHALLA }}
3138
run: |
32-
git config --global user.email "[email protected]"
33-
git config --global user.name "darkterminal"
34-
git add release_metadata.json
35-
git commit -m "Update release metadata" || exit 0 # Exit 0 if no changes
36-
git push
39+
git add release_metadata.json
40+
git commit -m "Update release metadata" || exit 0 # Exit 0 if no changes
41+
git push https://${{ env.TOKEN_VALHALLA }}@github.com/tursodatabase/turso-client-php.git

0 commit comments

Comments
 (0)