File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : SOUP - CVE Check
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ type :
6+ description : ' Type of package manager'
7+ required : true
8+ type : choice
9+ options : ['Pub', 'npm']
10+ package :
11+ description : ' Name of the package'
12+ required : true
13+ type : string
14+ version :
15+ description : ' Version of the package to include'
16+ required : true
17+ type : string
18+
19+ jobs :
20+ check-cves :
21+ env :
22+ GH_API_TOKEN : ${{ secrets.GH_API_TOKEN }}
23+ runs-on : [self-hosted, Linux]
24+ steps :
25+ - uses : QuickBirdEng/actions/checkout-ssh@main
26+ with :
27+ ssh-private-key : ${{ secrets.CI_SSH_PRIVATE_KEY_FOR_GITHUB_PRIVATE_REPOS }}
28+ - name : JQ Version
29+ shell : bash
30+ run : jq --version
31+ - name : Check CVE
32+ shell : bash
33+ run : bash cve-check.sh "${{ inputs.type }}" "${{ inputs.package }}" "${{ inputs.version }}" false
You can’t perform that action at this time.
0 commit comments