From 9100c5c4e5eddf3a6a294e2b0eba77d7c1014e68 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 18 Nov 2023 01:26:38 -0500 Subject: actions: add codeql --- .github/workflows/codeql.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/codeql.yaml 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 }}" -- cgit v1.2.3