Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 58547d8

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

File tree

1 file changed

+2
-3
lines changed
Filter options

1 file changed

+2
-3
lines changed

‎.github/workflows/codeql.yml

Copy file name to clipboardExpand all lines: .github/workflows/codeql.yml
+2-3Lines changed: 2 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.