Skip to content

Commit c403e00

Browse files
authored
Use GITHUB_ACTOR in git config (#5009)
1 parent bb2fff0 commit c403e00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update_directory.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ jobs:
8484
- name: Update DIRECTORY.md
8585
run: |
8686
cat DIRECTORY.md
87-
git config --global user.name github-actions
88-
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
87+
git config --global user.name "$GITHUB_ACTOR"
88+
git config --global user.email "$[email protected]"
8989
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
9090
git add DIRECTORY.md
9191
git commit -am "Update directory" || true

0 commit comments

Comments
 (0)