From bf3b0201c344c176581ac4abaf76db4a361c2dd5 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Tue, 28 Feb 2023 11:30:17 -0800 Subject: [PATCH] Fetch entire git tree for master comparison The api test needs to compare the current commit on the remote branch to the master branch. Based on the documentation, 'fetch-depth: 0' is intended to fetch all branches and tags. Signed-off-by: William Douglas --- .github/workflows/ccpp.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index f72ac999..49d99f41 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -46,6 +46,8 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: install_bats run: sudo apt-get install bats