Skip to content

Commit 2e7b2db

Browse files
Create codeql.yml
1 parent ce8ef5b commit 2e7b2db

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
analyze:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
actions: read
15+
contents: read
16+
security-events: write
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
language: [go]
22+
23+
steps:
24+
- uses: actions/checkout@v5
25+
26+
- uses: github/codeql-action/init@v4
27+
with:
28+
languages: ${{ matrix.language }}
29+
30+
- uses: github/codeql-action/autobuild@v4
31+
32+
- uses: github/codeql-action/analyze@v4
33+

0 commit comments

Comments
 (0)