Skip to content

Commit ca31830

Browse files
paccloudclaude
andcommitted
ci: add CodeQL workflow to establish baseline on main
Required by repo ruleset before PRs can merge. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 306f6ed commit ca31830

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "CodeQL"
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+
security-events: write
15+
contents: read
16+
17+
strategy:
18+
matrix:
19+
language: [javascript]
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v3
27+
with:
28+
languages: ${{ matrix.language }}
29+
30+
- name: Autobuild
31+
uses: github/codeql-action/autobuild@v3
32+
33+
- name: Perform CodeQL Analysis
34+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)