Skip to content

Commit

Permalink
Customize CodeQL
Browse files Browse the repository at this point in the history
- Run CodeQL on all branches.
- Don't install Python dependencies.
- Use v4 of actions/checkout.
  • Loading branch information
EliahKagan committed Dec 13, 2023
1 parent 83b7ec6 commit 58547d8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '27 10 * * 3'

Expand Down Expand Up @@ -45,13 +43,14 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

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

0 comments on commit 58547d8

Please sign in to comment.