Skip to content

Commit f5c587f

Browse files
authored
Merge pull request #30 from inspec/trufflehog-config
CHEF-21404 Enable CI for trufflelog scanning
2 parents ef1d584 + 40d333f commit f5c587f

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This stub runs only the TruffleHog scan as part of CI checks on pull requests to main branch.
2+
3+
name: CI Pull Request – TruffleHog Only
4+
5+
on:
6+
pull_request:
7+
branches: [ main ]
8+
push:
9+
branches: [ main ]
10+
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
call-ci-main-pr-check-pipeline:
18+
uses: chef/common-github-actions/.github/workflows/ci-main-pull-request.yml@main
19+
secrets: inherit
20+
permissions:
21+
id-token: write
22+
contents: read
23+
with:
24+
visibility: ${{ github.event.repository.visibility }}
25+
26+
# Enabled features
27+
perform-trufflehog-scan: true
28+
generate-sbom: true
29+
export-github-sbom: true
30+
31+
# All other features
32+
perform-complexity-checks: false
33+
perform-language-linting: false
34+
perform-blackduck-polaris: false
35+
perform-blackduck-sca-scan: false
36+
build: false
37+
unit-tests: false
38+
perform-sonarqube-scan: false
39+
report-to-atlassian-dashboard: false
40+
package-binaries: false
41+
habitat-build: false
42+
publish-packages: false
43+
generate-blackduck-sbom: false
44+
generate-msft-sbom: false
45+
license_scout: false

0 commit comments

Comments
 (0)