Skip to content

Commit c48e3c4

Browse files
temenuzhka-thedendeloof
authored andcommitted
Initial codeql.yml commit
Signed-off-by: temenuzhka-thede <[email protected]> add new line Signed-off-by: temenuzhka-thede <[email protected]> remove new line Signed-off-by: temenuzhka-thede <[email protected]> remove new line Signed-off-by: temenuzhka-thede <[email protected]> remove new line Signed-off-by: temenuzhka-thede <[email protected]> remove new line Signed-off-by: temenuzhka-thede <[email protected]> remove new line Signed-off-by: temenuzhka-thede <[email protected]> remove os customization Signed-off-by: temenuzhka-thede <[email protected]> remove os customization Signed-off-by: temenuzhka-thede <[email protected]>
1 parent dd0803d commit c48e3c4

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: codeql
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
paths-ignore:
8+
- '**/*.md'
9+
- '**/*.txt'
10+
- '**/*.yaml'
11+
- '**/*_test.go'
12+
pull_request:
13+
paths-ignore:
14+
- '**/*.md'
15+
- '**/*.txt'
16+
- '**/*.yaml'
17+
- '**/*_test.go'
18+
19+
jobs:
20+
analyze:
21+
name: Analyze
22+
runs-on: 'ubuntu-latest'
23+
permissions:
24+
actions: read
25+
contents: read
26+
security-events: write
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
language:
32+
- go
33+
34+
steps:
35+
-
36+
name: Checkout repository
37+
uses: actions/checkout@v4
38+
-
39+
name: Update Go
40+
uses: actions/setup-go@v4
41+
with:
42+
go-version-file: go.mod
43+
-
44+
name: Initialize CodeQL
45+
uses: github/codeql-action/init@v2
46+
with:
47+
languages: ${{ matrix.language }}
48+
-
49+
name: Autobuild
50+
uses: github/codeql-action/autobuild@v2
51+
-
52+
name: Perform CodeQL Analysis
53+
uses: github/codeql-action/analyze@v2
54+
with:
55+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)