Skip to content

Commit 4642f2e

Browse files
tablackburnclaude
andcommitted
ci: Add ggshield GitHub Actions workflow and skip in pre-commit.ci
- Skip ggshield in pre-commit.ci (no secrets support) - Add dedicated GitHub Actions workflow for ggshield scanning - Requires GITGUARDIAN_API_KEY secret to be configured Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5e5a5ad commit 4642f2e

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ggshield.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: GitGuardian Scan
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
scanning:
9+
name: GitGuardian Scan
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- uses: GitGuardian/ggshield-action@v1
16+
env:
17+
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
ci:
2+
skip: [ggshield]
3+
14
repos:
25
- repo: https://github.com/gitguardian/ggshield
36
rev: v1.46.0

0 commit comments

Comments
 (0)