Skip to content

Commit ba5fb03

Browse files
committed
fix(ci): fix codeql invocation
1 parent 741d079 commit ba5fb03

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/codeql-analysis.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,23 @@ on:
1515
schedule:
1616
- cron: 0 4 * * 0
1717

18+
permissions:
19+
contents: read
20+
1821
jobs:
1922
analyze:
23+
permissions:
24+
actions: read # for github/codeql-action/init to get workflow details
25+
contents: read # for actions/checkout to fetch code
26+
security-events: write # for github/codeql-action/autobuild to send a status report
2027
name: Analyze
2128
runs-on: ubuntu-24.04
22-
strategy:
23-
fail-fast: false
24-
matrix:
25-
language: [python]
2629
steps:
2730
- name: Checkout repository
2831
uses: actions/checkout@v4
2932

3033
- name: Initialize CodeQL
3134
uses: github/codeql-action/init@v3
32-
with:
33-
languages: ${{ matrix.language }}
3435

3536
- name: Autobuild
3637
uses: github/codeql-action/autobuild@v3

0 commit comments

Comments
 (0)