Skip to content

Commit

Permalink
ci: use GH default CodeQL (remove our job) (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Nov 11, 2024
1 parent ca6652d commit 4ba9bf0
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,6 @@ concurrency:
cancel-in-progress: true

jobs:
codeql:
name: CodeQL Security Scan
if: ${{ ! github.event.pull_request.draft }}
runs-on: ubuntu-22.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 @@ -83,7 +67,7 @@ jobs:
results:
name: Analysis Results
if: always()
needs: [codeql, tests] # Restore trivy when it's working again
needs: [tests] # Restore trivy when/if it's working again
runs-on: ubuntu-22.04
steps:
- if: contains(needs.*.result, 'failure')
Expand Down

0 comments on commit 4ba9bf0

Please sign in to comment.