Skip to content

Commit e26d722

Browse files
Simplify CodeQL config (#768)
* Simplify CodeQL config * CodeQL: fix branch separator Co-authored-by: aleksandr.bulychev <[email protected]>
1 parent 5c55e44 commit e26d722

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ "master" ]
16+
branches: [ "master", "[0-9][0-9].[0-9]" ]
1717
pull_request:
18-
# The branches below must be a subset of the branches above
19-
branches: [ "master" ]
2018
schedule:
21-
- cron: '44 18 * * 1'
19+
- cron: '0 0 * * 6'
2220

2321
jobs:
2422
analyze:
@@ -48,11 +46,11 @@ jobs:
4846
# If you wish to specify custom queries, you can do so here or in a config file.
4947
# By default, queries listed here will override any specified in a config file.
5048
# Prefix the list here with "+" to use these queries and those in the config file.
51-
49+
5250
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
5351
# queries: security-extended,security-and-quality
5452

55-
53+
5654
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5755
# If this step fails, then you should remove it and run the build manually (see below)
5856
- name: Autobuild
@@ -61,7 +59,7 @@ jobs:
6159
# ℹ️ Command-line programs to run using the OS shell.
6260
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6361

64-
# If the Autobuild fails above, remove it and uncomment the following three lines.
62+
# If the Autobuild fails above, remove it and uncomment the following three lines.
6563
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
6664

6765
# - run: |

0 commit comments

Comments
 (0)