Skip to content

Commit

Permalink
chore(ci): switch to GitHub default CodeQL (remove our job)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Nov 11, 2024
1 parent 4bbe0d8 commit 7757426
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,6 @@ jobs:
sonar_token: ${{ secrets[matrix.token] }}
triggers: ('${{ matrix.dir }}/')

codeql:
name: CodeQL
if: ${{ ! github.event.pull_request.draft }}
needs: [tests]
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: javascript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:javascript"

# https://github.com/marketplace/actions/aqua-security-trivy
trivy:
name: Trivy Security Scan
Expand Down Expand Up @@ -101,7 +84,7 @@ jobs:
results:
name: Analysis Results
if: always()
needs: [tests, codeql] # Restore trivy when/if fixed
needs: [tests] # Restore trivy when/if fixed
runs-on: ubuntu-24.04
steps:
- if: contains(needs.*.result, 'failure')
Expand Down

0 comments on commit 7757426

Please sign in to comment.