Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

security: Add CodeQL tests

Clémence Lesné0d6472508401
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
new file mode 100644
index 0000000..a2353df
--- /dev/null
+++ b/.github/workflows/codeql.yml
@@ -0,0 +1,42 @@
+name: "CodeQL"
+
+on:
+ push:
+ branches:
+ - develop
+ - main
+ pull_request:
+ branches:
+ - develop
+ - main
+
+jobs:
+ analyze:
+ name: Analyze (${{ matrix.language }})
+ permissions:
+ actions: read
+ contents: read
+ packages: read
+ security-events: write
+ runs-on: ubuntu-24.04
+ timeout-minutes: 360
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - build-mode: none
+ language: python
+ steps:
+ - name: Checkout repository
+ uses: actions/[email protected]
+
+ - name: Initialize CodeQL
+ uses: github/codeql-action/[email protected]
+ with:
+ build-mode: ${{ matrix.build-mode }}
+ languages: ${{ matrix.language }}
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/[email protected]
+ with:
+ category: "/language:${{matrix.language}}"