From 2c55d8654a4ec73038496dd6903718c6091dba29 Mon Sep 17 00:00:00 2001 From: Jenny Bryan Date: Tue, 13 Feb 2024 09:59:51 -0800 Subject: [PATCH] More standard git user setup Apparently lots of other people would also love this to be more automatic: https://github.com/actions/checkout/issues/13 --- .github/workflows/R-CMD-check.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index ae73c3267..33a3fd7b4 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -57,11 +57,11 @@ jobs: extra-packages: any::rcmdcheck needs: check - - name: git config + - name: Configure Git User if: matrix.config.r == 'release' run: | - git config --global user.name "$GITHUB_ACTOR" - git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com - uses: r-lib/actions/check-r-package@v2 env: