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 <william.douglas@intel.com>
This commit is contained in:
William Douglas
2023-02-28 11:30:17 -08:00
committed by William Douglas
parent ca3b07cf5e
commit bf3b0201c3
+2
View File
@@ -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