From 5b6e2afac4f8db31266face90482efb7b5951695 Mon Sep 17 00:00:00 2001 From: joel-rieke <53945260+joel-rieke@users.noreply.github.com> Date: Wed, 28 Jan 2026 10:36:34 -0800 Subject: [PATCH] Potential fix for code scanning alert no. 265: Checkout of untrusted code in trusted context Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/format.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 90d40d37d5..6c6c60c689 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -24,9 +24,6 @@ jobs: with: go-version: ^1.19 - uses: actions/checkout@v3 - with: - token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} - ref: ${{ github.head_ref }} - name: Install goimports run: | go mod download golang.org/x/tools