volopivoshenko/poetry-plugin-dotenv

View on GitHub
.github/workflows/codeql.yaml

Summary

Maintainability
Test Coverage
name: CodeQL

on:
  push:
    branches: ["main"]

  pull_request:
    branches: ["main"]

jobs:
  analyze:
    name: Analyze
    runs-on: ubuntu-latest
    permissions:
      actions: read
      contents: read
      security-events: write

    strategy:
      fail-fast: false
      matrix:
        language: ["python"]

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

      - name: Initialize CodeQL
        id: initialize-codeql
        uses: github/codeql-action/init@v3
        with:
          languages: ${{ matrix.language }}

      - name: Autobuild
        id: autobuild
        uses: github/codeql-action/autobuild@v3

      - name: Perform CodeQL analysis
        id: perform-codeql-analysis
        uses: github/codeql-action/analyze@v3
        with:
          category: "/language:${{matrix.language}}"