|
10 | 10 | # supported CodeQL languages.
|
11 | 11 | # ******** NOTE ********
|
12 | 12 |
|
13 |
| -name: "CodeQL" |
| 13 | +name: 'CodeQL' |
14 | 14 |
|
15 | 15 | on:
|
16 |
| - push: |
17 |
| - branches: [ master,release-1.x ] |
18 |
| - pull_request: |
19 |
| - # The branches below must be a subset of the branches above |
20 |
| - branches: [ master,release-1.x ] |
21 |
| - schedule: |
22 |
| - - cron: '35 14 * * 3' |
| 16 | + push: |
| 17 | + branches: [master, main] |
| 18 | + pull_request: |
| 19 | + # The branches below must be a subset of the branches above |
| 20 | + branches: [master, main] |
| 21 | + schedule: |
| 22 | + - cron: '35 14 * * 3' |
23 | 23 |
|
24 | 24 | jobs:
|
25 |
| - analyze: |
26 |
| - name: Analyze |
27 |
| - runs-on: ubuntu-latest |
| 25 | + analyze: |
| 26 | + name: Analyze |
| 27 | + runs-on: ubuntu-latest |
28 | 28 |
|
29 |
| - strategy: |
30 |
| - fail-fast: false |
31 |
| - matrix: |
32 |
| - language: [ 'javascript' ] |
| 29 | + strategy: |
| 30 | + fail-fast: false |
| 31 | + matrix: |
| 32 | + language: ['javascript'] |
33 | 33 |
|
34 |
| - steps: |
35 |
| - - name: Checkout repository |
36 |
| - uses: actions/checkout@v3 |
| 34 | + steps: |
| 35 | + - name: Checkout repository |
| 36 | + uses: actions/checkout@v3 |
37 | 37 |
|
38 |
| - # Initializes the CodeQL tools for scanning. |
39 |
| - - name: Initialize CodeQL |
40 |
| - uses: github/codeql-action/init@v2 |
41 |
| - with: |
42 |
| - languages: ${{ matrix.language }} |
43 |
| - |
44 |
| - - name: Autobuild |
45 |
| - uses: github/codeql-action/autobuild@v2 |
46 |
| - - name: Perform CodeQL Analysis |
47 |
| - uses: github/codeql-action/analyze@v2 |
| 38 | + # Initializes the CodeQL tools for scanning. |
| 39 | + - name: Initialize CodeQL |
| 40 | + uses: github/codeql-action/init@v2 |
| 41 | + with: |
| 42 | + languages: ${{ matrix.language }} |
| 43 | + |
| 44 | + - name: Autobuild |
| 45 | + uses: github/codeql-action/autobuild@v2 |
| 46 | + - name: Perform CodeQL Analysis |
| 47 | + uses: github/codeql-action/analyze@v2 |
0 commit comments