codeql-analysis.yml
This file
Path
.github/workflows/codeql-analysis.yml
44 lines · 1.1 KiB · YAML
Last changed by
Use github/codeql-action@v2 (#2998)dependabot[bot]before adoptiondad26d8
History of this fileTake it
The walk stopped after 200 commits: lines older than 15e20fc point at it.
fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc
lines 1–8why, one step back1# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning2name: CodeQL34on:5 push:6 branches: [ master, devel ]7 pull_request:8 branches: [ master ]Enable manually trigger on GitHub Workflows (#2620)Vlastimil Ovčáčíkbefore adoption179993f
line 9why, one step back9 workflow_dispatch:fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc
line 10why, one step back10Pin actions to a full length commit SHA (#2765)Naveenbefore adoption19af8fc
lines 11–13why, one step back11permissions:12 contents: read13fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc
lines 14–15why, one step back14jobs:15 analyze:Pin actions to a full length commit SHA (#2765)Naveenbefore adoption19af8fc
lines 16–19why, one step back16 permissions:17 actions: read # for github/codeql-action/init to get workflow details18 contents: read # for actions/checkout to fetch code19 security-events: write # for github/codeql-action/autobuild to send a status reportfix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc
lines 20–29why, one step back20 name: Analyze21 runs-on: ubuntu-latest2223 strategy:24 fail-fast: false25 matrix:26 language: ['go']2728 steps:29 - name: Checkout repositoryBump actions/checkout from 61b9e3751b92087fd0b06925ba6dd6314e06f089 to v3 (#2997)dependabot[bot]before adoptionbcaea09
line 30why, one step back30 uses: actions/checkout@v3fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc
lines 31–35why, one step back31 with:32 fetch-depth: 03334 # Initializes the CodeQL tools for scanning.35 - name: Initialize CodeQLUse github/codeql-action@v2 (#2998)dependabot[bot]before adoptiondad26d8
line 36why, one step back36 uses: github/codeql-action/init@v2fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc
lines 37–40why, one step back37 with:38 languages: ${{ matrix.language }}3940 - name: AutobuildUse github/codeql-action@v2 (#2998)dependabot[bot]before adoptiondad26d8
line 41why, one step back41 uses: github/codeql-action/autobuild@v2fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc
lines 42–43why, one step back4243 - name: Perform CodeQL AnalysisUse github/codeql-action@v2 (#2998)dependabot[bot]before adoptiondad26d8
line 44why, one step back44 uses: github/codeql-action/analyze@v2