Restrict download-and-submit to selected file

This commit is contained in:
daz
2024-07-16 13:45:14 -06:00
parent 36c24e793d
commit 22818445b3
4 changed files with 21 additions and 5 deletions

View File

@@ -49,6 +49,10 @@ export class DependencyGraphConfig {
return path.resolve(getWorkspaceDirectory(), 'dependency-graph-reports')
}
getDownloadArtifactName(): string | undefined {
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME']
}
static constructJobCorrelator(workflow: string, jobId: string, matrixJson: string): string {
const matrixString = this.describeMatrix(matrixJson)
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`