mirror of
https://github.com/ivuorinen/actions.git
synced 2026-03-12 02:58:01 +00:00
fix(ci): security workflow bugs
This commit is contained in:
3
.github/workflows/security.yml
vendored
3
.github/workflows/security.yml
vendored
@@ -88,7 +88,7 @@ jobs:
|
|||||||
--enableRetired
|
--enableRetired
|
||||||
--enableExperimental
|
--enableExperimental
|
||||||
--failOnCVSS 7
|
--failOnCVSS 7
|
||||||
--suppress ${{ github.workspace }}/suppressions.xml
|
--suppression ${{ github.workspace }}/suppressions.xml
|
||||||
|
|
||||||
- name: Upload OWASP Results
|
- name: Upload OWASP Results
|
||||||
uses: github/codeql-action/upload-sarif@v3
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
@@ -127,7 +127,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const exec = require('@actions/exec');
|
|
||||||
|
|
||||||
async function analyzeSarif(filePath, tool) {
|
async function analyzeSarif(filePath, tool) {
|
||||||
if (!fs.existsSync(filePath)) return null;
|
if (!fs.existsSync(filePath)) return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user