Debian Codegraph @

.github/workflows/codeql-analysis.yml

raw symbols SCIP
1 name: "Code scanning - action"
2
3 on:
4 push:
5 branches:
6 - develop
7 - master
8 - release/*
9 pull_request:
10 schedule:
11 - cron: '0 19 * * 1'
12 workflow_dispatch:
13
14 concurrency:
15 group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
16 cancel-in-progress: true
17
18 permissions:
19 contents: read
20
21 jobs:
22 CodeQL-Build:
23
24 runs-on: ubuntu-latest
25 permissions:
26 security-events: write
27
28 steps:
29 - name: Harden Runner
30 uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
31 with:
32 egress-policy: audit
33
34 - name: Checkout repository
35 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36
37 # Initializes the CodeQL tools for scanning.
38 - name: Initialize CodeQL
39 uses: github/codeql-action/init@fc7e4a0fa01c3cca5fd6a1fddec5c0740c977aa2 # v3.28.14
40 with:
41 languages: c-cpp
42
43 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
44 # If this step fails, then you should remove it and run the build manually (see below)
45 - name: Autobuild
46 uses: github/codeql-action/autobuild@fc7e4a0fa01c3cca5fd6a1fddec5c0740c977aa2 # v3.28.14
47
48 - name: Perform CodeQL Analysis
49 uses: github/codeql-action/analyze@fc7e4a0fa01c3cca5fd6a1fddec5c0740c977aa2 # v3.28.14