mirror of
https://github.com/TheAlgorithms/Ruby
synced 2024-11-16 19:50:00 +01:00
fix: use GITHUB_ACTOR
in git config
This commit is contained in:
parent
a26e5a4393
commit
e4a887c6c4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/update_directory_md.yml
vendored
4
.github/workflows/update_directory_md.yml
vendored
|
@ -51,8 +51,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 "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
||||
git add DIRECTORY.md
|
||||
git commit -am "updating DIRECTORY.md" || true
|
||||
|
|
Loading…
Reference in a new issue