Skip to content

Commit

Permalink
workflow: adding codeql analysis (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
pthierry-ledger authored Jul 12, 2024
2 parents 9471d67 + f87b080 commit 00e81b9
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: 2024 Ledger SAS
#
# SPDX-License-Identifier: Apache-2.0

name: "CodeQL"

on:
workflow_call:

jobs:
analyze:
name: Analyze python
runs-on: 'ubuntu-latest'
timeout-minutes: 360
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
build-mode: none
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:python"

0 comments on commit 00e81b9

Please sign in to comment.