-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 756 Bytes
/
codeql-analysis.yml
File metadata and controls
30 lines (26 loc) · 756 Bytes
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
name: CodeQL
on:
workflow_dispatch:
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze (CodeQL)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: "javascript,python"
- name: Autobuild
uses: github/codeql-action/autobuild@v4
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4
with:
category: "security"
# Notes:
# - Adjust `languages` to match your repo (e.g., `java`, `go`).
# - This workflow is manual (dispatch) for template use; remove/comment dispatch and enable push/pull_request in projects.