Skip to content

Commit

Permalink
Fix CodeQL failure
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulrahmanshabeekmohamed committed Jul 17, 2024
1 parent 8389fe9 commit a7bb202
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: "CodeQL"

on:
#push:
# branches: [ "main" ]
#pull_request:
# # The branches below must be a subset of the branches above
# branches: [ "main" ]
schedule:
- cron: '28 4 * * 3'
workflow_dispatch: #manually trigger the workflow
Expand All @@ -22,8 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
- language: ['csharp', 'javascript']
language: [ 'csharp', 'javascript' ]

steps:
- name: Checkout repository
Expand All @@ -34,16 +28,15 @@ jobs:
with:
languages: ${{ matrix.language }}
queries: "+security-and-quality"

- name: Restore npm dependencies
run: npm install
working-directory: ./CommonComponents

# Build Blazor Project
- name: Build Blazor Project
run: dotnet build ./Web/Web.csproj

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
category: "/language:${{matrix.language}}"

0 comments on commit a7bb202

Please sign in to comment.