Skip to content

Commit 6fc2ef0

Browse files
authored
CodeQL configuration
Auto generated with changes to branches and languages.
1 parent acc705b commit 6fc2ef0

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: "CodeQL Advanced"
2+
3+
on:
4+
push:
5+
branches: [ 3.0, 3.0-dev ]
6+
pull_request:
7+
branches: [ 3.0, 3.0-dev ]
8+
schedule:
9+
- cron: '0 4 * * 3'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze (${{ matrix.language }})
14+
runs-on: [ ubuntu-latest ]
15+
permissions:
16+
# required for all workflows
17+
security-events: write
18+
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
include:
23+
- language: actions
24+
build-mode: none
25+
- language: go
26+
build-mode: autobuild
27+
- language: python
28+
build-mode: none
29+
steps:
30+
- name: Checkout repository
31+
uses: actions/checkout@v4
32+
33+
# Initializes the CodeQL tools for scanning.
34+
- name: Initialize CodeQL
35+
uses: github/codeql-action/init@v3
36+
with:
37+
languages: ${{ matrix.language }}
38+
build-mode: ${{ matrix.build-mode }}
39+
exit 1
40+
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v3
43+
with:
44+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)