name: CodeQL on: pull_request: branches: - main push: branches: - main schedule: - cron: '31 7 * * 3' permissions: {} jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: actions: read checks: write contents: read security-events: write strategy: fail-fast: false matrix: language: - TypeScript steps: - name: Checkout id: checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Initialize CodeQL id: initialize uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3 with: languages: ${{ matrix.language }} source-root: src - name: Autobuild id: autobuild uses: github/codeql-action/autobuild@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3 - name: Perform CodeQL Analysis id: analyze uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3