diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml new file mode 100644 index 000000000000..f8d3e897625f --- /dev/null +++ b/.github/workflows/codeql.yaml @@ -0,0 +1,30 @@ +on: + schedule: + - cron: '0 4 * * *' # Runs every night at 04:00 UTC + workflow_dispatch: +name: CodeQL +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + node: [ 'javascript-typescript' ] + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4