codeql.yml
This file
Path
.github/workflows/codeql.yml
66 lines · 2.4 KiB · YAML
Last changed by
build(deps): bump github/codeql-action from 3.28.13 to 3.28.16 (#6498)dependabot[bot]before adoptiona1161b4
History of this fileTake it
Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 1–36why, one step back1# For most projects, this workflow file will not need changing; you simply need2# to commit it to your repository.3#4# You may wish to alter this file to override the set of languages analyzed,5# or to provide custom queries or build logic.6#7# ******** NOTE ********8# We have attempted to detect the languages in your repository. Please check9# the `language` matrix defined below to confirm you have the correct set of10# supported CodeQL languages.11#12name: "CodeQL"1314on:15 push:16 branches: ["master"]17 pull_request:18 # The branches below must be a subset of the branches above19 branches: ["master"]20 schedule:21 - cron: "0 0 * * 1"2223permissions:24 contents: read2526jobs:27 analyze:28 name: Analyze29 runs-on: ubuntu-latest30 permissions:31 actions: read32 contents: read33 security-events: write3435 steps:36 - name: Checkout repositoryci: use full SHAs for github action versionsPhillip9587before adoption7b44e1d
line 37why, one step back37 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 38–40why, one step back3839 # Initializes the CodeQL tools for scanning.40 - name: Initialize CodeQLbuild(deps): bump github/codeql-action from 3.28.13 to 3.28.16 (#6498)dependabot[bot]before adoptiona1161b4
line 41why, one step back41 uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 42–63why, one step back42 with:43 languages: javascript44 # If you wish to specify custom queries, you can do so here or in a config file.45 # By default, queries listed here will override any specified in a config file.46 # Prefix the list here with "+" to use these queries and those in the config file.4748 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).49 # If this step fails, then you should remove it and run the build manually (see below)50 # - name: Autobuild51 # uses: github/codeql-action/autobuild@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.75253 # ℹ️ Command-line programs to run using the OS shell.54 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun5556 # If the Autobuild fails above, remove it and uncomment the following three lines.57 # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.5859 # - run: |60 # echo "Run, Build Application using script"61 # ./location_of_script_within_repo/buildscript.sh6263 - name: Perform CodeQL Analysisbuild(deps): bump github/codeql-action from 3.28.13 to 3.28.16 (#6498)dependabot[bot]before adoptiona1161b4
line 64why, one step back64 uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 65–66why, one step back65 with:66 category: "/language:javascript"