Skip to content

Commit 58547d8

Browse files
committed
Customize CodeQL
- Run CodeQL on all branches. - Don't install Python dependencies. - Use v4 of actions/checkout.
1 parent 83b7ec6 commit 58547d8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/codeql.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ "main" ]
1716
pull_request:
18-
branches: [ "main" ]
1917
schedule:
2018
- cron: '27 10 * * 3'
2119

@@ -45,13 +43,14 @@ jobs:
4543

4644
steps:
4745
- name: Checkout repository
48-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4947

5048
# Initializes the CodeQL tools for scanning.
5149
- name: Initialize CodeQL
5250
uses: github/codeql-action/init@v2
5351
with:
5452
languages: ${{ matrix.language }}
53+
setup-python-dependencies: false
5554
# If you wish to specify custom queries, you can do so here or in a config file.
5655
# By default, queries listed here will override any specified in a config file.
5756
# Prefix the list here with "+" to use these queries and those in the config file.

0 commit comments

Comments
 (0)