name: "codeql"

on:
  push:
    branches: [ main ]

jobs:
  analyze:
    runs-on: ubuntu-latest

    permissions:
      security-events: write
      actions: read
      contents: read

    steps:
    - uses: actions/checkout@v4
    - uses: github/codeql-action/init@v3
    - uses: github/codeql-action/autobuild@v3
    - uses: github/codeql-action/analyze@v3
