| 
1 |  | -name: "CodeQL"  | 
2 |  | - | 
3 |  | -on:  | 
4 |  | -  push:  | 
5 |  | -    branches: [ "dev", "master", "main" ]  | 
6 |  | -  pull_request:  | 
7 |  | -    branches: [ "dev", "master", "main" ]  | 
8 |  | -  schedule:  | 
9 |  | -    - cron: '16 12 * * 6'  | 
10 |  | - | 
11 |  | -jobs:  | 
12 |  | -  analyze:  | 
13 |  | -    name: Analyze (${{ matrix.language }})  | 
14 |  | -    # Runner size impacts CodeQL analysis time. To learn more, please see:  | 
15 |  | -    #   - https://gh.io/recommended-hardware-resources-for-running-codeql  | 
16 |  | -    #   - https://gh.io/supported-runners-and-hardware-resources  | 
17 |  | -    #   - https://gh.io/using-larger-runners  | 
18 |  | -    # Consider using larger runners for possible analysis time improvements.  | 
19 |  | -    runs-on: 'ubuntu-latest'  | 
20 |  | -    timeout-minutes: 360  | 
21 |  | -    permissions:  | 
22 |  | -      # required for all workflows  | 
23 |  | -      security-events: write  | 
24 |  | -      # only required for workflows in private repositories  | 
25 |  | -      actions: read  | 
26 |  | -      contents: read  | 
27 |  | - | 
28 |  | -    strategy:  | 
29 |  | -      fail-fast: false  | 
30 |  | -      matrix:  | 
31 |  | -        include:  | 
32 |  | -        - language: csharp  | 
33 |  | -          build-mode: autobuild  | 
34 |  | -    steps:  | 
35 |  | -    - name: Checkout repository  | 
36 |  | -      uses: actions/checkout@v4  | 
37 |  | - | 
38 |  | -    # Initializes the CodeQL tools for scanning.  | 
39 |  | -    - name: Initialize CodeQL  | 
40 |  | -      uses: github/codeql-action/init@v3  | 
41 |  | -      with:  | 
42 |  | -        languages: ${{ matrix.language }}  | 
43 |  | -        build-mode: ${{ matrix.build-mode }}  | 
44 |  | - | 
45 |  | -    - name: Perform CodeQL Analysis  | 
46 |  | -      uses: github/codeql-action/analyze@v3  | 
47 |  | -      with:  | 
48 |  | -        category: "/language:${{matrix.language}}"  | 
 | 1 | +name: "CodeQL"  | 
 | 2 | + | 
 | 3 | +on:  | 
 | 4 | +  push:  | 
 | 5 | +    branches: [ "dev", "master", "main" ]  | 
 | 6 | +  pull_request:  | 
 | 7 | +    branches: [ "dev", "master", "main" ]  | 
 | 8 | +  schedule:  | 
 | 9 | +    - cron: '16 12 * * 6'  | 
 | 10 | + | 
 | 11 | +jobs:  | 
 | 12 | +  analyze:  | 
 | 13 | +    name: Analyze (${{ matrix.language }})  | 
 | 14 | +    # Runner size impacts CodeQL analysis time. To learn more, please see:  | 
 | 15 | +    #   - https://gh.io/recommended-hardware-resources-for-running-codeql  | 
 | 16 | +    #   - https://gh.io/supported-runners-and-hardware-resources  | 
 | 17 | +    #   - https://gh.io/using-larger-runners  | 
 | 18 | +    # Consider using larger runners for possible analysis time improvements.  | 
 | 19 | +    runs-on: 'ubuntu-latest'  | 
 | 20 | +    timeout-minutes: 360  | 
 | 21 | +    permissions:  | 
 | 22 | +      # required for all workflows  | 
 | 23 | +      security-events: write  | 
 | 24 | +      # only required for workflows in private repositories  | 
 | 25 | +      actions: read  | 
 | 26 | +      contents: read  | 
 | 27 | + | 
 | 28 | +    strategy:  | 
 | 29 | +      fail-fast: false  | 
 | 30 | +      matrix:  | 
 | 31 | +        include:  | 
 | 32 | +        - language: csharp  | 
 | 33 | +          build-mode: autobuild  | 
 | 34 | +    steps:  | 
 | 35 | +    - name: Checkout repository  | 
 | 36 | +      uses: actions/checkout@v4  | 
 | 37 | + | 
 | 38 | +    # Initializes the CodeQL tools for scanning.  | 
 | 39 | +    - name: Initialize CodeQL  | 
 | 40 | +      uses: github/codeql-action/init@v3  | 
 | 41 | +      with:  | 
 | 42 | +        languages: ${{ matrix.language }}  | 
 | 43 | +        build-mode: ${{ matrix.build-mode }}  | 
 | 44 | + | 
 | 45 | +    - name: Perform CodeQL Analysis  | 
 | 46 | +      uses: github/codeql-action/analyze@v3  | 
 | 47 | +      with:  | 
 | 48 | +        category: "/language:${{matrix.language}}"  | 
0 commit comments