diff --git a/.github/workflows/test-n-publish.yml b/.github/workflows/test-n-publish.yml index 21ef1f9..e9e9e0c 100644 --- a/.github/workflows/test-n-publish.yml +++ b/.github/workflows/test-n-publish.yml @@ -34,6 +34,7 @@ jobs: repository: 'spine-tools/${{ matrix.pkg }}' path: ${{ matrix.pkg }} ref: ${{ inputs[matrix.pkg] != 'skip' && inputs[matrix.pkg] || 'master' }} + fetch-tags: ${{ inputs[matrix.pkg] == 'skip' }} - name: Ensure Git checkout is not dirty run: cd ${{ matrix.pkg }} && git describe --tags --dirty | grep -vE '[-]dirty$' - name: Ensure Git checkout does not have additional commits