Skip to content

Commit

Permalink
feat(server): add vulnerability analysis by CodeQL (Jigsaw-Code#1271)
Browse files Browse the repository at this point in the history
  • Loading branch information
murka authored Mar 1, 2023
1 parent 753a00a commit 508a5a2
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/codeql_vulnerability_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "CodeQL"

on:
pull_request:
types:
- opened
- edited
- synchronize
push:
branches:
- master
schedule:
- cron: '0 0 * * *'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

permissions:
actions: read
contents: read
security-events: write

query-filters:
- exclude:
id: js/disabling-certificate-validation
- exclude:
id: js/missing-rate-limiting

strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript

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

0 comments on commit 508a5a2

Please sign in to comment.