Skip to content

Commit aeb0f14

Browse files
committed
fix: use GITHUB_ACTOR in git config
1 parent 67ff979 commit aeb0f14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update_directory_md.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
- name: Update DIRECTORY.md
5151
run: |
5252
cat DIRECTORY.md
53-
git config --global user.name github-actions
54-
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
53+
git config --global user.name "$GITHUB_ACTOR"
54+
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
5555
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
5656
git add DIRECTORY.md
5757
git commit -am "updating DIRECTORY.md" || true

0 commit comments

Comments
 (0)