Generate the "Submit SARIF after failure" workflow
This commit is contained in:
parent
d0517be03a
commit
24fd4c0f4e
4 changed files with 104 additions and 35 deletions
|
|
@ -115,7 +115,8 @@ for file in os.listdir('checks'):
|
|||
checkJob[key] = checkSpecification[key]
|
||||
|
||||
checkJob['env'] = checkJob.get('env', {})
|
||||
checkJob['env']['CODEQL_ACTION_TEST_MODE'] = True
|
||||
if 'CODEQL_ACTION_TEST_MODE' not in checkJob['env']:
|
||||
checkJob['env']['CODEQL_ACTION_TEST_MODE'] = True
|
||||
checkName = file[:len(file) - 4]
|
||||
|
||||
with open(f"../.github/workflows/__{checkName}.yml", 'w') as output_stream:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue