Skip to content

Commit 94ed8fe

Browse files
authored
Merge branch 'main' into 1568-log-message-ordering
2 parents 6115983 + d76eb1d commit 94ed8fe

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.github/workflows/codeql.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
schedule:
9+
- cron: "0 0 * * 1"
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
analyze:
16+
name: Analyze
17+
runs-on: ubuntu-latest
18+
permissions:
19+
actions: read
20+
contents: read
21+
security-events: write
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
language: ["typescript"]
27+
28+
steps:
29+
- name: Checkout code
30+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
31+
32+
# Initializes the CodeQL tools for scanning.
33+
- name: Initialize CodeQL
34+
uses: github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
35+
with:
36+
languages: ${{ matrix.language }}
37+
38+
- name: Setup NodeJS
39+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
40+
with:
41+
node-version: ${{ matrix.version }}
42+
cache: "npm"
43+
- name: Setup dependencies
44+
uses: ./.github/actions/cached-node-modules
45+
with:
46+
nodeVersion: 20
47+
48+
- name: Perform CodeQL Analysis
49+
uses: github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
50+
with:
51+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)