forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitleaks.yaml
46 lines (40 loc) · 948 Bytes
/
gitleaks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package:
name: gitleaks
version: 8.21.2
epoch: 1
description: SAST tool for detecting and preventing hardcoded secrets like passwords, api keys, and tokens in git repos
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- go
- openssf-compiler-options
pipeline:
- uses: git-checkout
with:
repository: https://github.com/gitleaks/gitleaks
expected-commit: 43fae355e6fe4d99d2a7b240a224b85e2903aeb4
tag: v${{package.version}}
- runs: |
make build
mkdir -p ${{targets.destdir}}/usr/bin
mv gitleaks ${{targets.destdir}}/usr/bin/gitleaks
- uses: strip
update:
enabled: true
github:
identifier: gitleaks/gitleaks
strip-prefix: v
use-tag: true
tag-filter: v
test:
pipeline:
- runs: |
gitleaks version
gitleaks --version
gitleaks --help