Skip to content

Commit fcd26f2

Browse files
authored
Merge pull request #54 from veracode/feature/DXS-207
Enable Static scan for .net repos
2 parents 59ced07 + 1d7aced commit fcd26f2

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/veracode-build-artifact-for-scanning.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818

1919
jobs:
2020
build:
21-
if: ${{ inputs.event_name == 'java-pipeline-scan' || inputs.event_name == 'java-policy-scan' || inputs.event_name == 'java-sandbox-scan' || inputs.event_name == 'unidentified-lang-pipeline-scan' || inputs.event_name == 'unidentified-lang-policy-scan' || inputs.event_name == 'unidentified-lang-sandbox-scan' }}
21+
if: ${{ inputs.event_name == 'java-pipeline-scan' || inputs.event_name == 'java-policy-scan' || inputs.event_name == 'java-sandbox-scan' || inputs.event_name == 'unidentified-lang-pipeline-scan' || inputs.event_name == 'unidentified-lang-policy-scan' || inputs.event_name == 'unidentified-lang-sandbox-scan' || inputs.event_name == 'dot-net-pipeline-scan' || inputs.event_name == 'dot-net-policy-scan' || inputs.event_name == 'dot-net-sandbox-scan'}}
2222
uses: ./.github/workflows/veracode-default-build.yml
2323
with:
2424
repository: ${{ inputs.repository }}
@@ -48,14 +48,6 @@ jobs:
4848
repository: ${{ inputs.repository }}
4949
ref: ${{ inputs.ref }}
5050
token: ${{ inputs.token }}
51-
52-
build-dot-net-package:
53-
if: ${{ inputs.event_name == 'dot-net-pipeline-scan' || inputs.event_name == 'dot-net-policy-scan' || inputs.event_name == 'dot-net-sandbox-scan'}}
54-
uses: ./.github/workflows/veracode-build-dot-net.yml
55-
with:
56-
repository: ${{ inputs.repository }}
57-
ref: ${{ inputs.ref }}
58-
token: ${{ inputs.token }}
5951

6052
build-go-package:
6153
if: ${{ inputs.event_name == 'go-pipeline-scan' || inputs.event_name == 'go-policy-scan' || inputs.event_name == 'go-sandbox-scan'}}

.github/workflows/veracode-default-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
- uses: actions/upload-artifact@v4
5555
with:
5656
name: veracode-artifact
57-
path: /__w/veracode/veracode/veracode-artifact.zip
57+
path: /__w/veracode/veracode/veracode-artifacts/*
5858
if-no-files-found: error

0 commit comments

Comments
 (0)