Skip to content

Commit 71fb3e8

Browse files
authored
Clean up min SA script
1 parent de0de72 commit 71fb3e8

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/dottest_sa.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: dotTEST Static Analysis
3+
name: dotTEST minimal Static Analysis
44

55
# Controls when the action will run.
66
on:
@@ -27,8 +27,8 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929

30-
- name: Run dotTEST static analysis
31-
id: dottest_sa
30+
- name: Run dotTEST min. SA
31+
id: dottest_min_sa
3232
# You may pin to the exact commit or the version.
3333
# uses: tobyash86/run-dottest-analyzer-proto@1bc4be095189f455793afdb10b47127e06ae25ff
3434
uses: parasoft/run-dottest-analyzer@master
@@ -41,7 +41,6 @@ jobs:
4141
scope.scontrol=true;
4242
scontrol.rep1.type=git;
4343
scontrol.rep1.git.url=${{ github.server_url }}/${{ github.repository }};
44-
scontrol.rep1.git.branch=${{ github.branch }};
4544
scontrol.rep1.git.workspace=${{ github.workspace }};
4645
scontrol.git.exec=C:\Program Files\Git\bin\git.exe'
4746

@@ -50,12 +49,12 @@ jobs:
5049
- name: Upload static results to GitHub
5150
uses: github/codeql-action/upload-sarif@v1
5251
with:
53-
sarif_file: ${{ steps.dottest_sa.outputs.report }}
52+
sarif_file: ${{ steps.dottest_min_sa.outputs.report }}
5453

5554
# ---------------------------------------------------------------
5655
# Archive the findings reports as job artifact
5756
- name: Upload static analysis artifacts
5857
uses: actions/upload-artifact@v2
5958
with:
6059
name: Report files
61-
path: ${{ steps.dottest_sa.outputs.reportDir }}/*.*
60+
path: ${{ steps.dottest_min_sa.outputs.reportDir }}/*.*

0 commit comments

Comments
 (0)