Skip to content

Commit

Permalink
Merge pull request #3 from switchboard-xyz/lele/gha-add-gitleaks
Browse files Browse the repository at this point in the history
GHA: add basic Gitleaks GitHub Action
  • Loading branch information
eldios authored Mar 13, 2024
2 parents 49f4ccf + 2cfbfe1 commit 8b019c4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/gitleaks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check for potential GitLeaks

on:
pull_request:
push:
workflow_dispatch:

jobs:
scan:
name: GitLeaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}

0 comments on commit 8b019c4

Please sign in to comment.