Skip to content

Commit fb046f4

Browse files
authored
Merge pull request #14 from MacPaw/feature/add-static-security-checks
🇺🇦 #StandWithUkraine Add CodeQL Security Checks
2 parents c5bd4ce + 7477236 commit fb046f4

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/codeql-analysis.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "CodeQL Code Checks"
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
analyze:
11+
name: Analyze
12+
runs-on: ubuntu-latest
13+
permissions:
14+
actions: read
15+
contents: read
16+
security-events: write
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
language: [ 'javascript' ]
22+
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v3
26+
27+
- name: Initialize CodeQL
28+
uses: github/codeql-action/init@v2
29+
with:
30+
languages: ${{ matrix.language }}
31+
32+
- name: Perform CodeQL Analysis
33+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)