Skip to content

Commit 491c290

Browse files
Update codeql.yml
1 parent f1d3239 commit 491c290

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/codeql.yml

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

1414
on:
1515
push:
16-
branches: [ "main" ]
16+
branches: [ $default-branch, $protected-branches ]
1717
pull_request:
18-
branches: [ "main" ]
18+
branches: [ $default-branch, $protected-branches ]
1919
schedule:
20-
- cron: '39 11 * * 2'
20+
- cron: $cron-weekly
2121

2222
jobs:
2323
analyze:
@@ -42,8 +42,8 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
include:
46-
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
45+
$codeql-languages-matrix
46+
# CodeQL supports the following values keywords for 'language': $supported-codeql-languages
4747
# Use `c-cpp` to analyze code written in C, C++ or both
4848
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
4949
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both

0 commit comments

Comments
 (0)