-
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (23 loc) · 811 Bytes
/
Copy pathgitleaks.yml
File metadata and controls
24 lines (23 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Code Scan
on:
push:
branches: [dev]
pull_request:
workflow_dispatch:
jobs:
detect-duplicate-actions:
uses: ./.github/workflows/detect-duplicate-actions.yml
gitleaks:
name: gitleaks
needs: detect-duplicate-actions
if: ${{ needs.detect-duplicate-actions.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: wget -O .gitleaks.toml https://raw.githubusercontent.com/elijaholmos/.github/main/workflows/config/.gitleaks.toml
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_NOTIFY_USER_LIST: '@elijaholmos'