Merge pull request #220 from vil02/properly_evaluate_GITHUB_ACTOR

fix: use `GITHUB_ACTOR` in `git config`
This commit is contained in:
vzvu3k6k 2024-01-17 23:07:37 +09:00 committed by GitHub
commit 6075b3a824
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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