-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathggshield.yaml
44 lines (39 loc) · 1.01 KB
/
ggshield.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
package:
name: ggshield
version: 1.25.0
epoch: 0
description: Find and fix 360+ types of hardcoded secrets and 70+ types of infrastructure-as-code misconfigurations.
copyright:
- license: MIT
dependencies:
runtime:
- python3
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- py3-pip
- py3-setuptools
- py3-wheel
- python3
- wolfi-base
pipeline:
- uses: git-checkout
with:
repository: https://github.com/GitGuardian/ggshield
tag: v${{package.version}}
expected-commit: a698c1ee4095620fe9c7ee626860a3dfc5ad02a8
- runs: |
pip3 install certifi -U # https://github.com/advisories/GHSA-xqr8-7jwr-rhp7
python3 setup.py bdist_wheel
pip3 install . --prefix=/usr --root="${{targets.destdir}}"
find ${{targets.destdir}} -name "*.pyc" -exec rm -rf '{}' +
- uses: strip
update:
enabled: true
github:
identifier: GitGuardian/ggshield
use-tag: true
strip-prefix: v