Skip to content

Commit 2c55d86

Browse files
committed
More standard git user setup
Apparently lots of other people would also love this to be more automatic: actions/checkout#13
1 parent 82311ac commit 2c55d86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/R-CMD-check.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ jobs:
5757
extra-packages: any::rcmdcheck
5858
needs: check
5959

60-
- name: git config
60+
- name: Configure Git User
6161
if: matrix.config.r == 'release'
6262
run: |
63-
git config --global user.name "$GITHUB_ACTOR"
64-
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
63+
git config user.name github-actions[bot]
64+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
6565
6666
- uses: r-lib/actions/check-r-package@v2
6767
env:

0 commit comments

Comments
 (0)