Skip to content

Commit b84789e

Browse files
authored
Configure a dummy git user (#1080)
* Configure a dummy local git user Fixes #1070 * Does the user.name actually matter? * Set this globally Otherwise the configured git user won't be available in scoped temporary projects used in tests.
1 parent 5edba35 commit b84789e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ jobs:
6969
remotes::install_cran("rcmdcheck")
7070
shell: Rscript {0}
7171

72+
- name: Configure Git user
73+
run: |
74+
git config --global user.email "[email protected]"
75+
git config --global user.name "GitHub Actions User"
76+
7277
- name: Check
7378
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "warning", check_dir = "check")
7479
shell: Rscript {0}

0 commit comments

Comments
 (0)