Skip to content

Commit

Permalink
fix: disabling git guardian, increasing timeout for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gzukel committed Oct 3, 2023
1 parent 70ed79b commit 971599c
Showing 1 changed file with 20 additions and 26 deletions.
46 changes: 20 additions & 26 deletions .github/workflows/sast-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,34 +52,31 @@ 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 }}
# 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
Expand All @@ -91,9 +88,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
Expand All @@ -105,7 +99,7 @@ jobs:
with:
version: v1.54
skip-cache: true
args: --timeout=15m
args: --timeout=20m

nosec_alert:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 971599c

Please sign in to comment.