-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.44 KB
/
codeql.yml
File metadata and controls
55 lines (49 loc) · 1.44 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
52
53
54
55
# CodeQL — placeholder (disabled).
#
# CodeQL on a private personal repo requires GitHub Advanced Security (GHAS),
# which is only available on Enterprise plans. When this repo either:
# (a) becomes public, or
# (b) gains a code-scanning subscription (GHAS or equivalent),
# re-activate by replacing the `on:` block below with:
#
# on:
# push:
# branches: [main, develop]
# pull_request:
# branches: [main, develop]
# schedule:
# - cron: "0 6 * * 1"
#
# Until then the workflow is manual-trigger-only (workflow_dispatch) so it
# does not fire on pushes/PRs and does not pollute CI with guaranteed
# failures.
name: CodeQL
on:
workflow_dispatch:
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- language: python
build-mode: none
- language: javascript-typescript
build-mode: none
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{ matrix.language }}"