From f33e3c9cd0a48fa74c1369c5c48d4e6f584d8de4 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 13 Apr 2023 22:04:43 +0300 Subject: [PATCH] Update CodeQL workflow --- .github/workflows/codeql.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c5668c3..1128877 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -6,12 +6,12 @@ on: - master - "!dependabot/**" pull_request: - # The branches below must be a subset of the branches above branches: - master - "!dependabot/**" schedule: - cron: "0 0 * * 0" + workflow_dispatch: jobs: analyze: @@ -23,13 +23,21 @@ jobs: security-events: write steps: - - name: Checkout repository + - name: Clone repository uses: actions/checkout@v3 + with: + persist-credentials: false - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: "javascript" + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + with: + category: "/language:javascript"