From dec6172627009f37de6fd872d1837e4dc75ebfd4 Mon Sep 17 00:00:00 2001 From: Grant Zukel <80433392+gzukel@users.noreply.github.com> Date: Tue, 3 Oct 2023 13:54:10 -0600 Subject: [PATCH] fix: disabling git guardian, increasing timeout for linter (#1229) * fix: disabling git guardian, increasing timeout for linter * removing some commented code --- .github/workflows/sast-linters.yml | 34 +----------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/.github/workflows/sast-linters.yml b/.github/workflows/sast-linters.yml index 6e78d8383f..e1fe2926cc 100644 --- a/.github/workflows/sast-linters.yml +++ b/.github/workflows/sast-linters.yml @@ -29,9 +29,6 @@ jobs: with: go-version: '1.20' - # - name: Install Pipeline Dependencies - # uses: ./.github/actions/install-dependencies - - name: Run Gosec Security Scanner uses: securego/gosec@master with: @@ -52,34 +49,8 @@ jobs: with: go-version: '1.20' - # - name: Install Pipeline Dependencies - # uses: ./.github/actions/install-dependencies - - name: Run Cosmos Gosec Security Scanner run: make lint-cosmos-gosec -# uses: cosmos/gosec@master -# with: -# args: '-include=G701,G703,G704 ./...' # Disabled G702 as it doesn't seem to be relevant 2023-09-14 - - - git-guardian: - runs-on: ubuntu-latest - env: - GO111MODULE: on - steps: - - name: Checkout Source - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: GitGuardian scan - uses: GitGuardian/ggshield-action@master - env: - GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }} - GITHUB_PUSH_BASE_SHA: ${{ github.event.base }} - GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }} - GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} - GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }} lint: runs-on: ubuntu-latest @@ -91,9 +62,6 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - # - name: Install Pipeline Dependencies - # uses: ./.github/actions/install-dependencies - name: Set up Go uses: actions/setup-go@v3 @@ -105,7 +73,7 @@ jobs: with: version: v1.54 skip-cache: true - args: --timeout=15m + args: --timeout=20m nosec_alert: runs-on: ubuntu-latest