Skip to content
Myr

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 file

Take 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 back
1# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning
2name: 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 back
9 workflow_dispatch:

fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc

line 10why, one step back
10

Pin actions to a full length commit SHA (#2765)Naveenbefore adoption19af8fc

lines 11–13why, one step back
11permissions:
12 contents: read13

fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc

lines 14–15why, one step back
14jobs:
15 analyze:

Pin actions to a full length commit SHA (#2765)Naveenbefore adoption19af8fc

lines 16–19why, one step back
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 report

fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc

lines 20–29why, one step back
20 name: Analyze
21 runs-on: ubuntu-latest2223 strategy:24 fail-fast: false25 matrix:26 language: ['go']2728 steps:29 - name: Checkout repository

Bump actions/checkout from 61b9e3751b92087fd0b06925ba6dd6314e06f089 to v3 (#2997)dependabot[bot]before adoptionbcaea09

line 30why, one step back
30 uses: actions/checkout@v3

fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc

lines 31–35why, one step back
31 with:
32 fetch-depth: 03334 # Initializes the CodeQL tools for scanning.35 - name: Initialize CodeQL

Use github/codeql-action@v2 (#2998)dependabot[bot]before adoptiondad26d8

line 36why, one step back
36 uses: github/codeql-action/init@v2

fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc

lines 37–40why, one step back
37 with:
38 languages: ${{ matrix.language }}3940 - name: Autobuild

Use github/codeql-action@v2 (#2998)dependabot[bot]before adoptiondad26d8

line 41why, one step back
41 uses: github/codeql-action/autobuild@v2

fix: spelling `Refence` -> `Reference`Hiroki Konishibefore adoption15e20fc

lines 42–43why, one step back
42
43 - name: Perform CodeQL Analysis

Use github/codeql-action@v2 (#2998)dependabot[bot]before adoptiondad26d8

line 44why, one step back
44 uses: github/codeql-action/analyze@v2