From a0b79411e41334f69ea8dfc6fa44ab3ab1e2baad Mon Sep 17 00:00:00 2001 From: Geoff Greer Date: Thu, 22 Oct 2026 14:58:57 -0700 Subject: [PATCH 1/2] Use x-access-token to fix some git fetch errors when prompt is disabled. --- .github/workflows/verify.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index b97e568..55dd69f 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -34,7 +34,7 @@ jobs: TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }} run: | if [ -n "$TOKEN" ]; then - git config --global url."https://${TOKEN}@github.com/".insteadOf "https://github.com/" + git config --global url."https://x-access-token:${TOKEN}@github.com/".insteadOf "https://github.com/" fi - name: Install Go uses: actions/setup-go@v5 @@ -68,7 +68,7 @@ jobs: TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }} run: | if [ -n "$TOKEN" ]; then - git config --global url."https://${TOKEN}@github.com/".insteadOf "https://github.com/" + git config --global url."https://x-access-token:${TOKEN}@github.com/".insteadOf "https://github.com/" fi - name: Install Go uses: actions/setup-go@v5 From 45a6e9ae074277269793fc436afda769181079a4 Mon Sep 17 00:00:00 2001 From: Geoff Greer Date: Thu, 22 Oct 2026 15:07:29 -0700 Subject: [PATCH 2/2] Don't use modules-download-mode: readonly. This causes us to re-download vendored dependencies. --- .golangci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 9ae6560..348fc9b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,4 @@ version: "2" -run: - modules-download-mode: readonly linters: default: none enable: