From 0a491412ca2f027db6764b030ed61805af509bd2 Mon Sep 17 00:00:00 2001 From: vil02 Date: Sun, 21 Jan 2024 09:36:57 +0100 Subject: [PATCH] fix: use `GITHUB_ACTOR` in `git config` --- .github/workflows/directory_md.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/directory_md.yml b/.github/workflows/directory_md.yml index d5ec6b0..af3f421 100644 --- a/.github/workflows/directory_md.yml +++ b/.github/workflows/directory_md.yml @@ -10,8 +10,8 @@ jobs: - uses: actions/setup-python@v2 - name: Setup Git Specs run: | - 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 shell: python