Skip to content

Commit 0fd1515

Browse files
authored
bring back branch-wise scope settings
1 parent b10a470 commit 0fd1515

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/dottest_sa.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,14 @@ jobs:
3838
# Path to working directory.
3939
installDir: c:\Program Files\Parasoft\dotTEST\2022.2
4040
testConfig: OWASP Top 10-2021
41-
property: 'scope.scontrol.files.filter.mode=local'
41+
property: 'scope.scontrol.files.filter.mode=branch;
42+
scope.scontrol.ref.branch=origin/main;
43+
scope.scontrol=true;
44+
scontrol.rep1.type=git;
45+
scontrol.rep1.git.url=${{ github.server_url }}/${{ github.repository }};
46+
scontrol.rep1.git.branch=${{github.branch}};
47+
scontrol.rep1.git.workspace=${GITHUB_WORKSPACE};
48+
scontrol.git.exec=C:\Program Files\Git\bin\git.exe'
4249

4350
# ---------------------------------------------------------------
4451
# Upload the findings into the GitHub code scanning alert section
@@ -53,4 +60,4 @@ jobs:
5360
uses: actions/upload-artifact@v2
5461
with:
5562
name: Report files
56-
path: ${{ steps.dottest_sa.outputs.reportDir }}/*.*
63+
path: ${{ steps.dottest_sa.outputs.reportDir }}/*.*

0 commit comments

Comments
 (0)