mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
fix: use GITHUB_ACTOR
in git config
(#11233)
This commit is contained in:
parent
227944eb29
commit
a56f24e83d
4
.github/workflows/directory_writer.yml
vendored
4
.github/workflows/directory_writer.yml
vendored
|
@ -15,8 +15,8 @@ jobs:
|
|||
- name: Write DIRECTORY.md
|
||||
run: |
|
||||
scripts/build_directory_md.py 2>&1 | tee 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
|
||||
- name: Update DIRECTORY.md
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user