File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 22# Visit https://docs.shiftleft.io for help
33name : Qwiet
44
5+
6+ permissions :
7+ actions : read
8+ contents : read
9+ security-events : write
10+
511on :
612 pull_request :
713 workflow_dispatch :
2228 ngsast-build :
2329 runs-on : ubuntu-latest
2430 steps :
25- - uses : actions/checkout@v2
26-
27- - name : Download the Qwiet CLI and set permissions
28- run : |
29- curl https://cdn.shiftleft.io/download/sl > ${GITHUB_WORKSPACE}/sl && chmod a+rx ${GITHUB_WORKSPACE}/sl
31+ - uses : actions/checkout@v4
3032
3133 # Qwiet requires Java 1.8
3234 - name : Set up Java
@@ -37,14 +39,13 @@ jobs:
3739 - name : Package with Maven
3840 run : mvn clean package
3941
40- - name : NextGen Static Analysis
41- run : ${GITHUB_WORKSPACE}/sl analyze --app ${{ github.event.repository.name }} --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} --verbose --strict --wait
42-
43- env :
44- SHIFTLEFT_ACCESS_TOKEN : ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}
45- SHIFTLEFT_API_HOST : www.shiftleft.io
46- SHIFTLEFT_GRPC_TELEMETRY_HOST : telemetry.shiftleft.io:443
47- SHIFTLEFT_GRPC_API_HOST : api.shiftleft.io:443
42+ - uses : elangosenthilnathan/QwietTemplate@main
43+ with :
44+ shiftleft-access-token : ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}
45+ verbose : true
46+ strict : false
47+ wait : true
48+ importGitHub : false
4849
4950 # - name: Download export.py and requirements.txt
5051 # run: |
You can’t perform that action at this time.
0 commit comments