From 472cb4cb3ff48742d01a4d97a656e653d54dd835 Mon Sep 17 00:00:00 2001 From: Ryan Parman Date: Thu, 1 Feb 2024 14:20:45 -0700 Subject: [PATCH] test: Discovered issue in calling GoSec. --- .github/workflows/gosec.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index 07b268c1..8a261144 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -29,6 +29,9 @@ jobs: - name: Checkout Source uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - name: Mark git clone as safe + run: git config --global --add safe.directory "${GITHUB_WORKSPACE}" + - name: Run Gosec Security Scanner uses: securego/gosec@55d79496019a560e16e73e1948dee20a1fad631a # v2.18.2 with: