Skip to content

Commit 3eaaa75

Browse files
chore(deps):update from template
1 parent e082c87 commit 3eaaa75

4 files changed

Lines changed: 365 additions & 7 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_commit: v0.15.21
1+
_commit: v0.15.23
22
_src_path: gh:helmut-hoffer-von-ankershoffen/oe-python-template
33
attestations_enabled: true
44
author_email: helmuthva@gmail.com

.github/workflows/_codeql.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
name: "CodeQL Analysis"
2+
3+
on:
4+
workflow_call:
5+
# No inputs needed at this time
6+
7+
jobs:
8+
analyze:
9+
name: Analyze (${{ matrix.language }})
10+
# Runner size impacts CodeQL analysis time. To learn more, please see:
11+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
12+
# - https://gh.io/supported-runners-and-hardware-resources
13+
# - https://gh.io/using-larger-runners (GitHub.com only)
14+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15+
permissions:
16+
# only required for workflows in private repositories
17+
actions: read
18+
# Obvious
19+
contents: read
20+
# required to fetch internal or private CodeQL packs
21+
packages: read
22+
# required for all workflows
23+
security-events: write
24+
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
include:
29+
- language: actions
30+
build-mode: none
31+
- language: python
32+
build-mode: none
33+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
34+
# Use `c-cpp` to analyze code written in C, C++ or both
35+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
36+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
37+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
38+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
39+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
40+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
41+
steps:
42+
- name: Checkout repository
43+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
44+
45+
# Add any setup steps before running the `github/codeql-action/init` action.
46+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
47+
# or others). This is typically only required for manual builds.
48+
# - name: Setup runtime (example)
49+
# uses: actions/setup-example@v1
50+
51+
# Initializes the CodeQL tools for scanning.
52+
- name: Initialize CodeQL
53+
uses: github/codeql-action/init@v3
54+
with:
55+
languages: ${{ matrix.language }}
56+
# If you wish to specify custom queries, you can do so here or in a config file.
57+
# By default, queries listed here will override any specified in a config file.
58+
# Prefix the list here with "+" to use these queries and those in the config file.
59+
60+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
61+
# queries: security-extended,security-and-quality
62+
63+
# For languages that support build scanning, you can specify any build command you
64+
# want to run before the scan, and can configure the location of your project with
65+
# the location.
66+
# See
67+
# https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
68+
# for more details on the languages that support build scanning.
69+
# build-mode: ${{ matrix.build-mode }}
70+
# location: ${{ matrix.location }}
71+
72+
# You can manually run scan-python for more control.
73+
# - name: Manual Build (example)
74+
# run: |
75+
# pip install -e .
76+
77+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
78+
# If this step fails, then you should remove it and run the build manually
79+
- name: Autobuild
80+
uses: github/codeql-action/autobuild@v3
81+
82+
- name: Perform CodeQL Analysis
83+
uses: github/codeql-action/analyze@v3
84+
with:
85+
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)