We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abfeee1 commit 8fa11f2Copy full SHA for 8fa11f2
.github/workflows/secret_scanner.yml
@@ -0,0 +1,20 @@
1
+name: Secret scanner
2
+on:
3
+ push:
4
+ branches: [ "master" ]
5
+ pull_request:
6
7
+permissions:
8
+ contents: read
9
+jobs:
10
+ secret-scanner:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+ - name: Install Nix
16
+ uses: DeterminateSystems/nix-installer-action@main
17
+ - name: Scan secrets in commits
18
+ run: nix shell nixpkgs#gitleaks --command gitleaks git --no-banner --verbose
19
+ - name: Scan secrets in files
20
+ run: nix shell nixpkgs#gitleaks --command gitleaks dir --no-banner --verbose
0 commit comments