Skip to content

Commit a203482

Browse files
committed
Merge branch 'codeql_nobuild'
2 parents c7520cc + 996dc71 commit a203482

File tree

4 files changed

+86
-0
lines changed

4 files changed

+86
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
# CI
1313
/.github/ @lucasssvaz @me-no-dev @P-R-O-C-H-Y
14+
/.github/codeql/ @lucasssvaz
1415
/.gitlab/ @lucasssvaz
1516
/tests/ @lucasssvaz @P-R-O-C-H-Y
1617

.github/codeql/codeql-config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "CodeQL config"
2+
3+
packs:
4+
- trailofbits/cpp-queries
5+
- githubsecuritylab/codeql-cpp-queries
6+
- githubsecuritylab/codeql-python-queries
7+
8+
queries:
9+
- uses: security-extended
10+
- uses: security-and-quality
11+
12+
query-filters:
13+
- exclude:
14+
query path:
15+
- /^experimental\/.*/
16+
- exclude:
17+
tags contain:
18+
- experimental
19+
- exclude:
20+
problem.severity:
21+
- recommendation
22+
- exclude:
23+
id: tob/cpp/use-of-legacy-algorithm
24+
25+
paths-ignore:
26+
- tests/**

.github/workflows/codeql_actions.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CodeQL Actions Analysis
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 4 * * SUN"
7+
pull_request:
8+
paths:
9+
- ".github/workflows/*.yml"
10+
- ".github/workflows/*.yaml"
11+
12+
jobs:
13+
codeql-analysis:
14+
name: CodeQL Actions Analysis
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
21+
- name: Initialize CodeQL
22+
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
23+
with:
24+
languages: actions
25+
config-file: ./.github/codeql/codeql-config.yml
26+
27+
- name: Run CodeQL Analysis
28+
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
29+
with:
30+
category: "Analysis: Actions"

.github/workflows/codeql_python.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CodeQL Python Analysis
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 4 * * SUN"
7+
pull_request:
8+
paths:
9+
- "**/*.py"
10+
11+
jobs:
12+
codeql-analysis:
13+
name: CodeQL Python Analysis
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
20+
- name: Initialize CodeQL
21+
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
22+
with:
23+
languages: python
24+
config-file: ./.github/codeql/codeql-config.yml
25+
26+
- name: Run CodeQL Analysis
27+
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
28+
with:
29+
category: "Analysis: Python"

0 commit comments

Comments
 (0)