Skip to content

Commit 5b6e2af

Browse files
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>
1 parent 7496402 commit 5b6e2af

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/format.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
with:
2525
go-version: ^1.19
2626
- uses: actions/checkout@v3
27-
with:
28-
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
29-
ref: ${{ github.head_ref }}
3027
- name: Install goimports
3128
run: |
3229
go mod download golang.org/x/tools

0 commit comments

Comments
 (0)