Skip to content

Commit

Permalink
add ggshield tests (#25715)
Browse files Browse the repository at this point in the history
#13623

Signed-off-by: Josh Wolf <[email protected]>
  • Loading branch information
joshrwolf authored Aug 7, 2024
1 parent 4fdfe40 commit dbf15b2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ggshield.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package:
name: ggshield
version: 1.30.2
epoch: 0
epoch: 1
description: Find and fix 360+ types of hardcoded secrets and 70+ types of infrastructure-as-code misconfigurations.
copyright:
- license: MIT
dependencies:
runtime:
- git
- py3-certifi
- python3

environment:
Expand Down Expand Up @@ -42,3 +44,13 @@ update:
identifier: GitGuardian/ggshield
use-tag: true
strip-prefix: v

test:
pipeline:
- name: Check ggshield version
runs: |
ggshield --version
- name: Check ggshield API status without API key
runs: |
output=$(ggshield api-status 2>&1 || true)
echo "$output" | grep "Error: A GitGuardian API key is needed to use ggshield."

0 comments on commit dbf15b2

Please sign in to comment.