From 2955e5beac73f27669c6db4c6b4e12aaa04e9338 Mon Sep 17 00:00:00 2001 From: lilidworkin <99899591+lilidworkin@users.noreply.github.com> Date: Mon, 29 Aug 2022 16:32:53 -0400 Subject: [PATCH] Add CodeQL scanning for Javascript files (#5) --- .github/workflows/codeql-analysis.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 000000000..1589e94bd --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,29 @@ +name: "CodeQL" + +on: push + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: ["javascript"] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2