Skip to content

Commit

Permalink
[monorepo] fix: update CodeQL to the latest format
Browse files Browse the repository at this point in the history
problem: CodeQL is not using the latest format
solution: update to the latest
  • Loading branch information
Wayonb authored Apr 12, 2024
1 parent b4db489 commit d522c32
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ name: Code Scanning - Action
- cron: '44 11 * * 3'

jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
analyze:
name: Analyze
runs-on: ubuntu-latest

timeout-minutes: 360
permissions:
# required for all workflows
security-events: write
Expand All @@ -22,21 +22,27 @@ jobs:
actions: read
contents: read

strategy:
fail-fast: false
matrix:
language: [javascript-typescript, python]

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
with:
languages: javascript, python
languages: ${{ matrix.language }}

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3

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

0 comments on commit d522c32

Please sign in to comment.