codeql.yml
This file
Path
.github/workflows/codeql.yml
73 lines · 2.6 KiB · YAML
Last changed by
ci: disable credential persistence for checkout actions (#6522)Mert Şişmanoğlubefore adoption99a0bd3
History of this fileTake it
Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 1–33why, 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: writeci: update codeql config (#6488)Phillip Bartabefore adoption9784321
lines 34–37why, one step back34 strategy:35 fail-fast: false36 matrix:37 language: [javascript, actions]Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 38–40why, one step back3839 steps:40 - name: Checkout repositoryci: use full SHAs for github action versionsPhillip9587before adoption7b44e1d
line 41why, one step back41 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2ci: disable credential persistence for checkout actions (#6522)Mert Şişmanoğlubefore adoption99a0bd3
lines 42–43why, one step back42 with:43 persist-credentials: falseMerge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 44–46why, one step back4445 # Initializes the CodeQL tools for scanning.46 - name: Initialize CodeQLbuild(deps): bump github/codeql-action from 3.28.13 to 3.28.16 (#6498)dependabot[bot]before adoptiona1161b4
line 47why, one step back47 uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 48why, one step back48 with:ci: update codeql config (#6488)Phillip Bartabefore adoption9784321
lines 49–52why, one step back49 languages: ${{ matrix.language }}50 config: |51 paths-ignore:52 - testMerge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 53–72why, one step back53 # If you wish to specify custom queries, you can do so here or in a config file.54 # By default, queries listed here will override any specified in a config file.55 # Prefix the list here with "+" to use these queries and those in the config file.5657 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).58 # If this step fails, then you should remove it and run the build manually (see below)59 # - name: Autobuild60 # uses: github/codeql-action/autobuild@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.76162 # ℹ️ Command-line programs to run using the OS shell.63 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun6465 # If the Autobuild fails above, remove it and uncomment the following three lines.66 # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.6768 # - run: |69 # echo "Run, Build Application using script"70 # ./location_of_script_within_repo/buildscript.sh7172 - name: Perform CodeQL Analysisbuild(deps): bump github/codeql-action from 3.28.13 to 3.28.16 (#6498)dependabot[bot]before adoptiona1161b4
line 73why, one step back73 uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16