/[sudobot]/trunk/.github/workflows/codeql.yml
ViewVC logotype

Diff of /trunk/.github/workflows/codeql.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 571 by rakin, Mon Jul 29 17:30:39 2024 UTC revision 572 by rakinar2, Mon Jul 29 17:51:37 2024 UTC
# Line 13  name: "CodeQL" Line 13  name: "CodeQL"
13    
14  on:  on:
15    push:    push:
16      branches: [ "main", 2.x ]      branches: ["main"]
17    pull_request:    pull_request:
18      # The branches below must be a subset of the branches above      branches: ["main"]
     branches: [ "main" ]  
19    schedule:    schedule:
20      - cron: '19 11 * * 5'      - cron: "0 0 * * *"
21    
22  jobs:  jobs:
23    analyze:    analyze:
# Line 32  jobs: Line 31  jobs:
31      strategy:      strategy:
32        fail-fast: false        fail-fast: false
33        matrix:        matrix:
34          language: [ 'javascript' ]          language: ["javascript"]
         # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]  
         # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support  
35    
36      steps:      steps:
37      - name: Checkout repository        - name: Checkout repository
38        uses: actions/checkout@v3          uses: actions/checkout@v3
39    
40      # Initializes the CodeQL tools for scanning.        - name: Initialize CodeQL
41      - name: Initialize CodeQL          uses: github/codeql-action/init@v3
42        uses: github/codeql-action/init@v2          with:
43        with:            languages: ${{ matrix.language }}
44          languages: ${{ matrix.language }}            config-file: ".github/codeql/config.yml"
45          # If you wish to specify custom queries, you can do so here or in a config file.  
46          # By default, queries listed here will override any specified in a config file.        - name: Autobuild
47          # Prefix the list here with "+" to use these queries and those in the config file.          uses: github/codeql-action/autobuild@v3
48            
49          # 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        - name: Perform CodeQL Analysis
50          # queries: security-extended,security-and-quality          uses: github/codeql-action/analyze@v3
51            with:
52                      category: "/language:${{matrix.language}}"
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).  
     # If this step fails, then you should remove it and run the build manually (see below)  
     - name: Autobuild  
       uses: github/codeql-action/autobuild@v2  
   
     # ℹī¸ Command-line programs to run using the OS shell.  
     # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun  
   
     #   If the Autobuild fails above, remove it and uncomment the following three lines.  
     #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.  
   
     # - run: |  
     #   echo "Run, Build Application using script"  
     #   ./location_of_script_within_repo/buildscript.sh  
   
     - name: Perform CodeQL Analysis  
       uses: github/codeql-action/analyze@v2  
       with:  
         category: "/language:${{matrix.language}}"  

Legend:
Removed from v.571  
changed lines
  Added in v.572

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26