codeql-analysis.yml
This file
Path
.github/workflows/codeql-analysis.yml
44 lines · 1.1 KiB · YAML
Last changed by
Bump actions/checkout from 5 to 7 (#4844)dependabot[bot]before adoption1090578
History of this fileTake it
The walk stopped after 200 commits: lines older than 76efddd point at it.
bash: shift-delete to delete history entries during CTRL-RJunegunn Choibefore adoption76efddd
lines 1–29why, 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 ]9 workflow_dispatch:1011permissions:12 contents: read1314jobs:15 analyze:16 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 report20 name: Analyze21 runs-on: ubuntu-latest2223 strategy:24 fail-fast: false25 matrix:26 language: ['go']2728 steps:29 - name: Checkout repositoryBump actions/checkout from 5 to 7 (#4844)dependabot[bot]before adoption1090578
line 30why, one step back30 uses: actions/checkout@v7bash: shift-delete to delete history entries during CTRL-RJunegunn Choibefore adoption76efddd
lines 31–44why, one step back31 with:32 fetch-depth: 03334 # Initializes the CodeQL tools for scanning.35 - name: Initialize CodeQL36 uses: github/codeql-action/init@v437 with:38 languages: ${{ matrix.language }}3940 - name: Autobuild41 uses: github/codeql-action/autobuild@v44243 - name: Perform CodeQL Analysis44 uses: github/codeql-action/analyze@v4