Skip to content

Commit 7af422f

Browse files
committed
chore(ci): add CodeQL
1 parent e8fc30b commit 7af422f

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+
name: CodeQL
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- .github/workflows/*.yaml
7+
push:
8+
branches:
9+
- main
10+
11+
permissions: {}
12+
13+
jobs:
14+
analysis:
15+
name: Analysis
16+
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
security-events: write
20+
steps:
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
with:
23+
persist-credentials: false
24+
- uses: github/codeql-action/init@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
25+
with:
26+
languages: actions
27+
build-mode: none
28+
- uses: github/codeql-action/analyze@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
29+
with:
30+
category: /language:actions

0 commit comments

Comments
 (0)