Repository navigation
48 lines (45 loc) · 1.69 KB
/
Copy pathcodeql.yml
File metadata and controls
48 lines (45 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# SPDX-License-Identifier: AGPL-3.0-or-later
# Commercial license available
# © Concepts 1996–2026 Miroslav Šotek. All rights reserved.
# © Code 2020–2026 Miroslav Šotek. All rights reserved.
# ORCID: 0009-0009-3560-0851
# Contact: www.anulum.li | protoscience@anulum.li
# DEPLOY-PACK — repository validation tooling
name: Python CodeQL analysis without upload
'on':
workflow_call:
permissions:
contents: read
concurrency:
group: deploy-pack-codeql-${{ github.ref }}
cancel-in-progress: true
jobs:
analysis:
name: analysis
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: 'false'
- name: Retrieve the exact CodeQL analysis bundle
env:
CODEQL_BUNDLE_URL: https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.27.2/codeql-bundle-linux64.tar.gz
CODEQL_BUNDLE_SHA256: f002864be6dd8d5d7bdb123aaf7291ec8e291012bd9f70b6d2362f730db52aeb
run: 'curl --fail --location --silent --show-error --max-time 180 --output "$RUNNER_TEMP/codeql-bundle.tar.gz"
"$CODEQL_BUNDLE_URL"
printf ''%s %s\n'' "$CODEQL_BUNDLE_SHA256" "$RUNNER_TEMP/codeql-bundle.tar.gz" | sha256sum --check
--status
'
- uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934
with:
languages: python
tools: ${{ runner.temp }}/codeql-bundle.tar.gz
build-mode: none
ram: '2048'
threads: '1'
- uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934
with:
upload: never
upload-database: 'false'
wait-for-processing: 'false'