Skip to content

Commit 020dc06

Browse files
authored
Merge pull request #959 from mnfst/ci/codeql-workflow
ci: add explicit CodeQL workflow for fork PR support
2 parents 0273117 + 84f9388 commit 020dc06

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.changeset/loud-pillows-melt.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.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+
paths-ignore:
7+
- "**.md"
8+
- ".changeset/**"
9+
pull_request:
10+
branches: [main]
11+
paths-ignore:
12+
- "**.md"
13+
- ".changeset/**"
14+
schedule:
15+
- cron: "30 1 * * 0"
16+
17+
permissions:
18+
security-events: write
19+
contents: read
20+
21+
jobs:
22+
analyze:
23+
name: CodeQL
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- uses: github/codeql-action/init@v4
30+
with:
31+
languages: javascript-typescript
32+
build-mode: none
33+
34+
- uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)