From 1c1693d92d03e59465aec4aeb8d21cc4b7e85350 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Fri, 26 Feb 2021 13:09:03 +0100 Subject: [PATCH] Scrutinizer checks: Amend GHA "checkout" action to use "fetch-depth: 2" --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f07ca00..edb33f9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: - name: Acquire sources uses: actions/checkout@v2 with: - fetch-depth: 0 + fetch-depth: 2 # With GHA's "services", you cannot map volumes to your codebase BEFORE checking out the codebase. # So, let's use `docker-compose` to bring in services AFTER checking out the code.