Skip to content

Commit a1de7fc

Browse files
committed
ci: add CodeQL security scanning
1 parent 9a818f6 commit a1de7fc

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
- cron: '0 6 * * 1'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
security-events: write
17+
actions: read
18+
contents: read
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
language: [javascript]
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: github/codeql-action/init@v3
26+
with:
27+
languages: ${{ matrix.language }}
28+
- uses: github/codeql-action/autobuild@v3
29+
- uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)