Skip to content

Commit

Permalink
GHA: add basic Gitleaks GitHub Action
Browse files Browse the repository at this point in the history
Add basic GitLeaks action to prevent/detect secrets leaks
  • Loading branch information
eldios committed Mar 13, 2024
1 parent 49f4ccf commit 3b93e4e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/gitleaks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check for potential GitLeaks

on:
pull_request:
push:
workflow_dispatch:

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

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

0 comments on commit 3b93e4e

Please sign in to comment.