Skip to content

Commit 4081bf5

Browse files
committed
build: create CodeQL nightly job
1 parent a21356f commit 4081bf5

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/codeql.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
schedule:
3+
- cron: '0 4 * * *' # Runs every night at 04:00 UTC
4+
workflow_dispatch:
5+
name: CodeQL
6+
jobs:
7+
analyze:
8+
name: Analyze
9+
runs-on: ubuntu-latest
10+
permissions:
11+
actions: read
12+
contents: read
13+
security-events: write
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
node: [ 'javascript-typescript' ]
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v6
23+
24+
- name: Initialize CodeQL
25+
uses: github/codeql-action/init@v3
26+
with:
27+
languages: ${{ matrix.language }}
28+
29+
- name: Perform CodeQL Analysis
30+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)