mirror of
https://github.com/TheAlgorithms/Ruby
synced 2024-11-16 19:50:00 +01:00
Merge pull request #220 from vil02/properly_evaluate_GITHUB_ACTOR
fix: use `GITHUB_ACTOR` in `git config`
This commit is contained in:
commit
6075b3a824
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