Debian Codegraph @

ansible_collections/community/general/.github/workflows/codeql-analysis.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 name: "Code scanning - action"
7
8 "on":
9 schedule:
10 - cron: '26 19 * * 1'
11 workflow_dispatch:
12
13 permissions:
14 contents: read
15
16 jobs:
17 CodeQL-Build:
18
19 permissions:
20 actions: read # for github/codeql-action/init to get workflow details
21 contents: read # for actions/checkout to fetch code
22 security-events: write # for github/codeql-action/autobuild to send a status report
23 runs-on: ubuntu-latest
24
25 steps:
26 - name: Checkout repository
27 uses: actions/checkout@v6
28 with:
29 persist-credentials: false
30
31 # Initializes the CodeQL tools for scanning.
32 - name: Initialize CodeQL
33 uses: github/codeql-action/init@v4
34 with:
35 languages: python
36
37 - name: Perform CodeQL Analysis
38 uses: github/codeql-action/analyze@v4