Skip to content

Commit

Permalink
ci(CodeQL): add config (#521)
Browse files Browse the repository at this point in the history
* ci(CodeQL): add config

* lol
  • Loading branch information
kanadgupta authored Jun 23, 2022
1 parent 74ebdb4 commit 6dc896c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/codeql/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
paths-ignore:
- '__tests__/**'
10 changes: 3 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: 'CodeQL'

on:
push:
Expand All @@ -17,19 +17,15 @@ jobs:
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/config.yml
languages: javascript

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

0 comments on commit 6dc896c

Please sign in to comment.