Skip to content

Commit

Permalink
Use GITHUB_ACTOR in git config (TheAlgorithms#5009)
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 authored Jan 8, 2024
1 parent bb2fff0 commit c403e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ jobs:
- name: Update DIRECTORY.md
run: |
cat DIRECTORY.md
git config --global user.name github-actions
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "$[email protected]"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git add DIRECTORY.md
git commit -am "Update directory" || true
Expand Down

0 comments on commit c403e00

Please sign in to comment.