Skip to content

Commit c816c71

Browse files
authored
Update CodeQL workflow version and permissions
1 parent 67aea2c commit c816c71

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/codeql.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66
# to main, pull requests targeting main, and a weekly schedule.
77
# Results publish to the repository Security tab.
88
# Notes: - security-events write permission is required for upload
9+
# - If the repository has code-scanning DEFAULT SETUP enabled,
10+
# this advanced workflow's uploads are rejected; disable
11+
# default setup under Settings > Code security to use it
912
# - CodeQL Action v4 (Node.js 24 runtime); v3 enters deprecation
1013
# December 2026
1114
# - Action pins follow the project standard: checkout@v6,
1215
# setup-python@v6
13-
# Version: 1.6.0
16+
# Version: 1.6.2
1417
# ==============================================================================
1518

1619
name: CodeQL
@@ -39,6 +42,7 @@ jobs:
3942
runs-on: ubuntu-latest
4043
permissions:
4144
contents: read
45+
actions: read
4246
security-events: write
4347

4448
steps:
@@ -48,6 +52,7 @@ jobs:
4852
uses: github/codeql-action/init@v4
4953
with:
5054
languages: python
55+
build-mode: none
5156
queries: security-and-quality
5257

5358
- name: Perform CodeQL analysis

0 commit comments

Comments
 (0)