From d72cbc4657d40594549142d1f7bb5e1e48a577ba Mon Sep 17 00:00:00 2001 From: Axtazer <47863741+Axtazer@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:47:53 +0100 Subject: [PATCH] Ajout codeql (#39) --- .github/workflows/deploy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ba74668..21846e3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,9 +6,30 @@ on: - main jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: javascript + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + build: name: Build runs-on: ubuntu-latest + needs: analyze steps: - name: Checkout repo