forked from diybitcoinhardware/embit
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (43 loc) · 1.1 KB
/
Copy pathcodeql.yml
File metadata and controls
49 lines (43 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CodeQL
on:
push:
branches:
- master
pull_request:
schedule:
- cron: "23 4 * * 1"
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language:
- python
- actions
steps:
- uses: actions/checkout@v6
- uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: security-and-quality
config-file: ./.github/codeql/codeql-config.yml
- uses: github/codeql-action/analyze@v4
with:
category: /language:${{ matrix.language }}
upload: always
post-processed-sarif-path: ${{ runner.temp }}/sarif-results
- name: Upload SARIF artifact
if: always()
uses: actions/upload-artifact@v7
with:
name: codeql-sarif-${{ matrix.language }}
path: ${{ runner.temp }}/sarif-results
if-no-files-found: warn