name: "codeql"

on:
  push:
    branches: [ main ]

jobs:
  analyze:
    name: analyze
    runs-on: ubuntu-latest

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

    steps:
    - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3
    - uses: github/codeql-action/init@807578363a7869ca324a79039e6db9c843e0e100 # v2
    - uses: github/codeql-action/autobuild@807578363a7869ca324a79039e6db9c843e0e100 # v2
    - uses: github/codeql-action/analyze@807578363a7869ca324a79039e6db9c843e0e100 # v2
