Skip to content

Commit

Permalink
Update security-checks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
olokotoh authored Sep 19, 2024
1 parent 15ff1d9 commit 7fa908e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/security-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,7 @@ jobs:
languages: 'javascript'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

- name: List Directory Contents
run: |
echo "Listing directory contents after CodeQL analysis:"
ls -R
echo "Looking for the SARIF file in the default locations:"
find . -name "*.sarif"
- name: Check SARIF File Existence
run: |
SARIF_FILE=$(find . -name "*.sarif" | head -n 1)
if [ -f "$SARIF_FILE" ]; then
echo "SARIF file exists at $SARIF_FILE."
else
echo "SARIF file does not exist!" && exit 1
fi
uses: github/codeql-action/analyze@v3

gitleaks-scan:
name: "Gitleaks Secrets Scan"
Expand Down

0 comments on commit 7fa908e

Please sign in to comment.