Skip to content

Commit

Permalink
Adding python scan (as there was default one)
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemov-ledger committed Jan 7, 2025
1 parent da5b051 commit c416c5d
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql_checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL (c-cpp)"
name: "CodeQL (c-code)"

on:
workflow_dispatch:
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/codeql_checks_python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "CodeQL (python)"

on:
workflow_dispatch:
push:
branches:
- master
- main
- develop
pull_request:
# Excluded path: add the paths you want to ignore instead of deleting the workflow
paths-ignore:
- '.github/workflows/*.yml'

jobs:
analyse:
name: Analyse
strategy:
fail-fast: false
matrix:
language: ['python']
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest

steps:
- name: Clone
uses: actions/checkout@v4
with:
submodules: true

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

0 comments on commit c416c5d

Please sign in to comment.