|
1 |
| -# For most projects, this workflow file will not need changing; you simply need |
2 |
| -# to commit it to your repository. |
3 |
| -# |
4 |
| -# You may wish to alter this file to override the set of languages analyzed, |
5 |
| -# or to provide custom queries or build logic. |
6 |
| -# |
7 |
| -# ******** NOTE ******** |
8 |
| -# We have attempted to detect the languages in your repository. Please check |
9 |
| -# the `language` matrix defined below to confirm you have the correct set of |
10 |
| -# supported CodeQL languages. |
11 |
| -# |
12 | 1 | name: "CodeQL"
|
13 | 2 |
|
14 | 3 | on:
|
15 | 4 | schedule:
|
16 | 5 | - cron: '39 14 * * 0'
|
| 6 | + pull_request: |
| 7 | + branches: ['master'] |
| 8 | + paths: |
| 9 | + - '**.js' |
| 10 | + - '**.jsx' |
| 11 | + - '**.ts' |
| 12 | + - '**.tsx' |
17 | 13 |
|
18 | 14 | jobs:
|
19 | 15 | analyze:
|
@@ -43,11 +39,11 @@ jobs:
|
43 | 39 | # If you wish to specify custom queries, you can do so here or in a config file.
|
44 | 40 | # By default, queries listed here will override any specified in a config file.
|
45 | 41 | # Prefix the list here with "+" to use these queries and those in the config file.
|
46 |
| - |
| 42 | + |
47 | 43 | # 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
|
48 |
| - # queries: security-extended,security-and-quality |
| 44 | + queries: security-extended |
| 45 | + |
49 | 46 |
|
50 |
| - |
51 | 47 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
52 | 48 | # If this step fails, then you should remove it and run the build manually (see below)
|
53 | 49 | - name: Autobuild
|
|
56 | 52 | # ℹ️ Command-line programs to run using the OS shell.
|
57 | 53 | # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
58 | 54 |
|
59 |
| - # If the Autobuild fails above, remove it and uncomment the following three lines. |
| 55 | + # If the Autobuild fails above, remove it and uncomment the following three lines. |
60 | 56 | # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
61 | 57 |
|
62 | 58 | # - run: |
|
|
0 commit comments