Skip to content

Commit

Permalink
ci(workflows): [ci] fix gitguardian job
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Dec 18, 2024
1 parent a2bca07 commit 88c454f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions .dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pjson
pkgs
preid
remarkrc
sarif
shfmt
tscu
unstub
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,23 +142,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout ${{ env.REF_NAME }}
name: Checkout
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
persist-credentials: false
ref: ${{ env.REF }}
- id: scan
name: Scan commits for secrets and policy breaches
uses: GitGuardian/ggshield-action@master
name: Scan commits with ggshield
uses: GitGuardian/ggshield-action@v1.34.0
env:
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }}
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
with:
args: --all-policies --show-secrets --verbose
args: --all-policies --format sarif --show-secrets --with-incident-details --verbose
format:
needs:
- commitlint
Expand Down

0 comments on commit 88c454f

Please sign in to comment.