Skip to content

Commit

Permalink
ci: add code-ql (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmouk authored Jun 19, 2024
1 parent 56c277c commit 3d22420
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: code-ql
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "29 20 * * 3"
jobs:
analyze:
runs-on: ubuntu-22.04
timeout-minutes: 360
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: ["javascript-typescript"]
steps:
- name: Checkout
uses: actions/checkout@v4

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

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

0 comments on commit 3d22420

Please sign in to comment.