diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/codeql.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml new file mode 100644 index 0000000..fb58456 --- /dev/null +++ b/.github/workflows/codeql.yaml @@ -0,0 +1,30 @@ +name: CodeQL + +on: + push: + branches: ["main"] + pull_request: + +jobs: + codeql: + name: Run CodeQL scan + runs-on: "ubuntu-latest" + + permissions: + security-events: write + + env: + LANGUAGE: "javascript-typescript" + + steps: + - uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ env.LANGUAGE }} + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{ env.LANGUAGE }}" |
