Skip to content

Commit

Permalink
Converted to shared gitleaks implementation (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mik-Nord authored Jun 5, 2023
1 parent 94c7aaf commit 106cc53
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/secret-detection.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
name: Gitleaks Manual
name: Gitleaks

on:
pull_request:
branches: [ "master", "main" ]
workflow_dispatch:

jobs:
security:
runs-on: ubuntu-latest

steps:
- name: Check out the source code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Download gitleaks
run: |
curl -LO https://github.com/zricethezav/gitleaks/releases/download/v8.15.2/gitleaks_8.15.2_linux_x64.tar.gz
tar zxvf gitleaks_8.15.2_linux_x64.tar.gz
chmod +x gitleaks
- name: Scan with gitleaks
run: ./gitleaks detect --redact
shared:
uses: dfds/shared-workflows/.github/workflows/security-gitleaks.yml@master
secrets: inherit

0 comments on commit 106cc53

Please sign in to comment.