Skip to content

Commit 694ee7b

Browse files
authored
Merge pull request #41 from IABTechLab/kcc-UID2-2329-add-dotnet-pipeline
UID2-2329 Pass in vulnerability_failure_severity
2 parents 319b972 + f9c2e44 commit 694ee7b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-and-publish.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ on:
1616
dotnet_version:
1717
type: string
1818
default: 5.0
19+
vulnerability_failure_severity:
20+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
21+
type: string
22+
default: 'CRITICAL,HIGH'
1923

2024
jobs:
2125
build-and-pubish:
@@ -24,4 +28,6 @@ jobs:
2428
with:
2529
release_type: ${{ inputs.release_type }}
2630
dotnet_version: ${{ inputs.dotnet_version }}
31+
publish_vulnerabilities: ${{ inputs.publish_vulnerabilities }}
32+
vulnerability_failure_severity: ${{ inputs.vulnerability_failure_severity }}
2733
secrets: inherit

0 commit comments

Comments
 (0)