From ecf76b1a09ea2e909da7aa68640c53bdad5ff299 Mon Sep 17 00:00:00 2001 From: vil02 Date: Sat, 6 Jan 2024 00:17:02 +0100 Subject: [PATCH 1/2] fix: properly evaluate `GITHUB_ACTOR` --- .github/workflows/directory_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/directory_workflow.yml b/.github/workflows/directory_workflow.yml index 384f67ac707..f3f4a7145a1 100644 --- a/.github/workflows/directory_workflow.yml +++ b/.github/workflows/directory_workflow.yml @@ -15,7 +15,7 @@ jobs: - 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.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: | From 7c14b96a458c5dbe3f64c80b27c76ba2c876a635 Mon Sep 17 00:00:00 2001 From: Piotr Idzik <65706193+vil02@users.noreply.github.com> Date: Mon, 8 Jan 2024 14:51:01 +0100 Subject: [PATCH 2/2] style: use `GITHUB_ACTOR` as the `user.name` --- .github/workflows/directory_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/directory_workflow.yml b/.github/workflows/directory_workflow.yml index f3f4a7145a1..13a42727940 100644 --- a/.github/workflows/directory_workflow.yml +++ b/.github/workflows/directory_workflow.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-python@v4 - name: Setup Git Specs run: | - git config --global user.name github-actions + 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