Skip to content

Change version/revision to use only args #679

Change version/revision to use only args

Change version/revision to use only args #679

name: "Py CodeQL analysis"
on:
push:
branches: [develop, main]
pull_request:
branches: [develop]
paths:
- 'backend/**.py'
- 'backend/requirements*.*'
- 'docker/dockerfiles/Dockerfile.backend*'
- 'docker-compose.yml'
- '.github/workflows/backend_pipeline.yml'
- '.github/workflows/code-analysis-py.yml'
jobs:
analyze_py:
name: Analyze code
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
language: ['python']
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2