Skip to content

Commit 6075b3a

Browse files
authored
Merge pull request #220 from vil02/properly_evaluate_GITHUB_ACTOR
fix: use `GITHUB_ACTOR` in `git config`
2 parents a26e5a4 + e4a887c commit 6075b3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/update_directory_md.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
- name: Update DIRECTORY.md
5252
run: |
5353
cat DIRECTORY.md
54-
git config --global user.name github-actions
55-
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
54+
git config --global user.name "$GITHUB_ACTOR"
55+
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
5656
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
5757
git add DIRECTORY.md
5858
git commit -am "updating DIRECTORY.md" || true

0 commit comments

Comments
 (0)