Full clone to be able to generate Salt's version from commits

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-01-12 19:10:07 +00:00 committed by Pedro Algarvio
parent 17b6ebed24
commit e0d7c0e7cd

View file

@ -50,6 +50,8 @@ jobs:
salt-version: ${{ steps.setup-salt-version.outputs.salt-version }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Full clone to also get the tags to get the right salt version
- name: Get Changed Files
id: changed-files
uses: dorny/paths-filter@v2