From abe335b829575caf117892d3e53eca8a5290c7b0 Mon Sep 17 00:00:00 2001 From: genteure Date: Sat, 3 Dec 2022 22:02:15 +0800 Subject: [PATCH] Update CodeQL workflow --- .github/workflows/codeql.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8740a41..ae79e84 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,7 +2,7 @@ name: "CodeQL" on: push: - branches: [ 'dev', 'old-1.2', 'old-clickonce', 'old-master' ] + branches: [ 'dev' ] pull_request: # The branches below must be a subset of the branches above branches: [ 'dev' ] @@ -28,17 +28,18 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - submodules: recursive + submodules: false # skip fetching webui, they are analyzed separately + - uses: actions/setup-dotnet@v2 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} + queries: +security-extended,security-and-quality - - name: Build WebUI - run: ./webui/build.sh - name: Build CLI + if: ${{ matrix.language == 'csharp' }} run: dotnet build BililiveRecorder.Cli/BililiveRecorder.Cli.csproj - name: Perform CodeQL Analysis