---
name: codeQL

on:
  push:
    branches: [development/*, hotfix/*]
  pull_request:
    branches: [development/*, hotfix/*]
  workflow_dispatch:

jobs:
  analyze:
    name: Static analysis with CodeQL
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v4

      - name: Initialize CodeQL
        uses: github/codeql-action/init@v3
        with:
          languages: javascript, python, ruby

      - name: Build and analyze
        uses: github/codeql-action/analyze@v3
