Skip to content

Commit

Permalink
fix: disabling git guardian, increasing timeout for linter (#1229)
Browse files Browse the repository at this point in the history
* fix: disabling git guardian, increasing timeout for linter

* removing some commented code
  • Loading branch information
gzukel authored Oct 3, 2023
1 parent 4de526b commit dec6172
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions .github/workflows/sast-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -105,7 +73,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 dec6172

Please sign in to comment.