diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index eb39689b0..cfbe6cc53 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -21,6 +21,9 @@ jobs: steps: - name: Check out code into the Go module directory uses: actions/checkout@v3 + with: + fetch-depth: 0 + - run: git fetch --force --tags - name: CWD run: echo "${{ github.workspace }}" @@ -29,13 +32,13 @@ jobs: run: ls -al - name: Disable dubious ownership check - run: git config --global --add safe.directory "${{ github.workspace }}" + run: git config --system --add safe.directory "${{ github.workspace }}" - - name: Disable dubious ownership check - run: git config --global --add safe.directory "*" + #- name: Disable dubious ownership check + # run: git config --global --add safe.directory "*" - - name: Disable dubious ownership check - run: git config --system --add safe.directory "*" + #- name: Disable dubious ownership check + # run: git config --system --add safe.directory "*" - name: Release HORNET run: goreleaser --verbose --skip-publish --clean