codeql-analysis.yml
This file
Path
.github/workflows/codeql-analysis.yml
57 lines · 1.7 KiB · YAML
Last changed by
Bump github/codeql-action from 1 to 2dependabot[bot]before adoptiondccc906
History of this fileTake it
ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1
lines 1–4why, one step back1name: "CodeQL"23on:4 push:Add develop branch for earlier warningsJohn Geebefore adoption3e202f3
line 5why, one step back5 branches: [ master, develop ]ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1
lines 6–7why, one step back6 pull_request:7 # The branches below must be a subset of the branches aboveAdd develop branch for earlier warningsJohn Geebefore adoption3e202f3
line 8why, one step back8 branches: [ master, develop ]ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1
lines 9–27why, one step back9 schedule:10 - cron: '27 5 * * 6'1112jobs:13 analyze:14 name: Analyze15 runs-on: ubuntu-latest16 permissions:17 actions: read18 contents: read19 security-events: write2021 strategy:22 fail-fast: false23 matrix:24 language: [ 'javascript' ]2526 steps:27 - name: Checkout repositoryBump actions/checkout from 2 to 3dependabot[bot]before adoption211ff69
line 28why, one step back28 uses: actions/checkout@v3ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1
lines 29–31why, one step back2930 # Initializes the CodeQL tools for scanning.31 - name: Initialize CodeQLBump github/codeql-action from 1 to 2dependabot[bot]before adoptiondccc906
line 32why, one step back32 uses: github/codeql-action/init@v2ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1
lines 33–42why, one step back33 with:34 languages: ${{ matrix.language }}35 # If you wish to specify custom queries, you can do so here or in a config file.36 # By default, queries listed here will override any specified in a config file.37 # Prefix the list here with "+" to use these queries and those in the config file.38 # queries: ./path/to/local/query, your-org/your-repo/queries@main3940 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).41 # If this step fails, then you should remove it and run the build manually (see below)42 - name: AutobuildBump github/codeql-action from 1 to 2dependabot[bot]before adoptiondccc906
line 43why, one step back43 uses: github/codeql-action/autobuild@v2ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1
lines 44–56why, one step back4445 # ℹ️ Command-line programs to run using the OS shell.46 # 📚 https://git.io/JvXDl4748 # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines49 # and modify them (or add more) to build your code if your project50 # uses a compiled language5152 #- run: |53 # make bootstrap54 # make release5556 - name: Perform CodeQL AnalysisBump github/codeql-action from 1 to 2dependabot[bot]before adoptiondccc906
line 57why, one step back57 uses: github/codeql-action/analyze@v2