3 # SPDX-License-Identifier: LGPL-2.1-or-later
14 - '.github/**/codeql*'
29 if: github.repository != 'systemd/systemd-security'
32 group: ${{ github.workflow }}-${{ matrix.language }}-${{ github.ref }}
33 cancel-in-progress: true
36 security-events: write
41 language: ['cpp', 'python']
44 - name: Checkout repository
45 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
47 - name: Initialize CodeQL
48 uses: github/codeql-action/init@ddccb873888234080b77e9bc2d4764d5ccaaccf9
50 languages: ${{ matrix.language }}
51 config-file: ./.github/codeql-config.yml
53 - run: sudo -E .github/workflows/unit_tests.sh SETUP
56 uses: github/codeql-action/autobuild@ddccb873888234080b77e9bc2d4764d5ccaaccf9
58 - name: Perform CodeQL Analysis
59 uses: github/codeql-action/analyze@ddccb873888234080b77e9bc2d4764d5ccaaccf9