Skip to content
Myr

codeql-analysis.yml

This file

Path

.github/workflows/codeql-analysis.yml

74 lines · 2.6 KiB · YAML

Last changed by

Bump the actions group with 3 updates (#7591)dependabot[bot]before adoption69f8484

History of this file

Take it

The walk stopped after 200 commits: lines older than cb7fcd7 point at it.

Specify that Session.headers needs to be set to a OrderedDict in Header Ordering docs (#6475)Joren Vranckenbefore adoptioncb7fcd7

lines 1–34why, one step back
1# For most projects, this workflow file will not need changing; you simply need
2# 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.6name: "CodeQL"78on:9 push:10 branches: [main]11 pull_request:12 # The branches below must be a subset of the branches above13 branches: [main]14 schedule:15 - cron: '0 23 * * 0'1617permissions:18 contents: read1920jobs:21 analyze:22 permissions:23 actions: read # for github/codeql-action/init to get workflow details24 contents: read # for actions/checkout to fetch code25 security-events: write # for github/codeql-action/autobuild to send a status report26 name: Analyze27 runs-on: ubuntu-latest2829 strategy:30 fail-fast: false313233 steps:34 - name: Checkout repository

Bump actions/checkout from 6.0.2 to 7.0.0 in the actions group (#7540)dependabot[bot]before adoption4ed3d1b

line 35why, one step back
35 uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

Specify that Session.headers needs to be set to a OrderedDict in Header Ordering docs (#6475)Joren Vranckenbefore adoptioncb7fcd7

lines 36–39why, one step back
36 with:
37 # We must fetch at least the immediate parents so that if this is38 # a pull request then we can checkout the head.39 fetch-depth: 2

Add Zizmor workflow and make initial updatesNate Prewittbefore adoptioncbce031

line 40why, one step back
40 persist-credentials: false

Specify that Session.headers needs to be set to a OrderedDict in Header Ordering docs (#6475)Joren Vranckenbefore adoptioncb7fcd7

lines 41–48why, one step back
41
42 # If this run was triggered by a pull request event, then checkout43 # the head of the pull request instead of the merge commit.44 - run: git checkout HEAD^245 if: ${{ github.event_name == 'pull_request' }}4647 # Initializes the CodeQL tools for scanning.48 - name: Initialize CodeQL

Bump the actions group with 3 updates (#7591)dependabot[bot]before adoption69f8484

line 49why, one step back
49 uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0

Specify that Session.headers needs to be set to a OrderedDict in Header Ordering docs (#6475)Joren Vranckenbefore adoptioncb7fcd7

lines 50–59why, one step back
50 with:
51 languages: "python"52 # If you wish to specify custom queries, you can do so here or in a config file.53 # By default, queries listed here will override any specified in a config file.54 # Prefix the list here with "+" to use these queries and those in the config file.55 # queries: ./path/to/local/query, your-org/your-repo/queries@main5657 # 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: Autobuild

Bump the actions group with 3 updates (#7591)dependabot[bot]before adoption69f8484

line 60why, one step back
60 uses: github/codeql-action/autobuild@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0

Specify that Session.headers needs to be set to a OrderedDict in Header Ordering docs (#6475)Joren Vranckenbefore adoptioncb7fcd7

lines 61–73why, one step back
61
62 # ℹ️ Command-line programs to run using the OS shell.63 # 📚 https://git.io/JvXDl6465 # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines66 # and modify them (or add more) to build your code if your project67 # uses a compiled language6869 #- run: |70 # make bootstrap71 # make release7273 - name: Perform CodeQL Analysis

Bump the actions group with 3 updates (#7591)dependabot[bot]before adoption69f8484

line 74why, one step back
74 uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0