-
Notifications
You must be signed in to change notification settings - Fork 145
51 lines (41 loc) · 1.19 KB
/
codeql.yml
File metadata and controls
51 lines (41 loc) · 1.19 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
50
51
name: CodeQL analysis
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: 0 0 * * 1
workflow_dispatch:
permissions: read-all
jobs:
analyze:
name: CodeQL analysis
permissions:
security-events: write
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language:
- python
steps:
- uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
objects.githubusercontent.com:443
uploads.github.com:443
release-assets.githubusercontent.com
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@cdefb33c0f6224e58673d9004f47f7cb3e328b89
- uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89
with:
category: /language:${{matrix.language}}