File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow integrates Qwiet preZero with GitHub
2+ # Visit https://docs.shiftleft.io for help
3+ name : Qwiet
4+
5+ on :
6+ pull_request :
7+ workflow_dispatch :
8+ push :
9+ # We recommend triggering a scan when merging to your default branch
10+ # as a best practice, especially if you'd like to compare the results
11+ # of two scans (e.g., a feature branch against the default branch)
12+ branches :
13+ - main
14+ - master
15+
16+ jobs :
17+ ngsast-build :
18+ runs-on : ubuntu-20.04
19+ steps :
20+ - uses : actions/checkout@v2
21+
22+ - name : Download the Qwiet CLI and set permissions
23+ run : |
24+ curl https://cdn.shiftleft.io/download/sl > ${GITHUB_WORKSPACE}/sl && chmod a+rx ${GITHUB_WORKSPACE}/sl
25+
26+ # Qwiet requires Java 1.8
27+ - name : Set up Java
28+ 29+ with :
30+ java-version : 1.8
31+
32+ - name : NextGen Static Analysis
33+ run : ${GITHUB_WORKSPACE}/sl analyze --app shiftleft-python-demo-GH --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} --python .
34+ env :
35+ SHIFTLEFT_ACCESS_TOKEN : ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments