-
Notifications
You must be signed in to change notification settings - Fork 27
46 lines (43 loc) · 1.06 KB
/
CodeQL.yaml
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
name: CodeQL
on:
push:
paths:
- "**.js"
- "**.py"
- .github/workflows/CodeQL.yaml
pull_request:
paths:
- "**.js"
- "**.py"
- .github/workflows/CodeQL.yaml
- .github/codeql-config.yaml
merge_group:
workflow_dispatch:
schedule:
- cron: 15 0 * * *
permissions:
actions: read
checks: write
contents: write
pull-requests: write
security-events: write
statuses: write
jobs:
CodeQL:
# Prevent duplicate runs on organization branches with PRs
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript, python
queries: +security-and-quality
setup-python-dependencies: false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3