diff options
| author | seth <[email protected]> | 2023-11-18 01:26:38 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-18 06:31:50 +0000 |
| commit | 9100c5c4e5eddf3a6a294e2b0eba77d7c1014e68 (patch) | |
| tree | e10f68f87dfb513d760a7933409b43ec9cf65fb8 /.github | |
| parent | 3eb6be089e42ed34df19a5b04fea2e1cd457a933 (diff) | |
actions: add codeql
Diffstat (limited to '.github')
| -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 }}" |
