Skip to content
Myr

codeql-analysis.yml

This file

Path

.github/workflows/codeql-analysis.yml

57 lines · 1.7 KiB · YAML

Last changed by

Merge remote-tracking branch 'origin/develop' into release/12.xJohn Geebefore adoption9afbabd

History of this file

Take it

ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1

lines 1–4why, one step back
1name: "CodeQL"
23on:4 push:

Add develop branch for earlier warningsJohn Geebefore adoption3e202f3

line 5why, one step back
5 branches: [ master, develop ]

ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1

lines 6–7why, one step back
6 pull_request:
7 # The branches below must be a subset of the branches above

Add develop branch for earlier warningsJohn Geebefore adoption3e202f3

line 8why, one step back
8 branches: [ master, develop ]

ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1

lines 9–27why, one step back
9 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 repository

Merge remote-tracking branch 'origin/develop' into release/12.xJohn Geebefore adoption9afbabd

line 28why, one step back
28 uses: actions/checkout@v4

ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1

lines 29–31why, one step back
29
30 # Initializes the CodeQL tools for scanning.31 - name: Initialize CodeQL

Bump github/codeql-action from 1 to 2dependabot[bot]before adoptiondccc906

line 32why, one step back
32 uses: github/codeql-action/init@v2

ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1

lines 33–42why, one step back
33 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: Autobuild

Bump github/codeql-action from 1 to 2dependabot[bot]before adoptiondccc906

line 43why, one step back
43 uses: github/codeql-action/autobuild@v2

ci: add .github/workflows/codeql-analysis.ymlabetomobefore adoptionb5d2bb1

lines 44–56why, one step back
44
45 # ℹ️ 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 Analysis

Bump github/codeql-action from 1 to 2dependabot[bot]before adoptiondccc906

line 57why, one step back
57 uses: github/codeql-action/analyze@v2