From 3e1661a1832fdd38946f97f46a1a3c74a2fb4965 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 28 Jul 2020 18:04:52 +0200 Subject: Use "fetch-depth: 0" to retrieve all history from remote --- .github/workflows/style_and_docs.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.github/workflows/style_and_docs.yaml') diff --git a/.github/workflows/style_and_docs.yaml b/.github/workflows/style_and_docs.yaml index 9fee85b163..2277d5598f 100644 --- a/.github/workflows/style_and_docs.yaml +++ b/.github/workflows/style_and_docs.yaml @@ -41,9 +41,7 @@ jobs: run: | # Need this for the git tests to succeed. git --version - git config --global user.email "spack@example.com" - git config --global user.name "Test User" - git fetch -u origin develop:develop + . .github/workflows/setup_git.sh - name: Run flake8 tests run: | share/spack/qa/run-flake8-tests -- cgit v1.2.3-70-g09d2