Skip to content

Commit

Permalink
codeql.yml removed
Browse files Browse the repository at this point in the history
  • Loading branch information
SwarnenduG07 authored Nov 20, 2024
1 parent ffda96d commit 457a2bc
Showing 1 changed file with 0 additions and 56 deletions.
56 changes: 0 additions & 56 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1 @@
name: "CodeQL Advanced"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '22 16 * * 5'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
security-events: write
packages: read
actions: read
contents: read

strategy:
fail-fast: false
matrix:
# Define languages and build-modes explicitly
include:
- language: "javascript-typescript"
build-mode: "automatic"
- language: "python"
build-mode: "automatic"
# Add more languages here as needed, e.g.,
# - language: "go"
# build-mode: "automatic"
# - language: "c-cpp"
# build-mode: "manual"

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}

- name: Build the code (if manual build is required)
if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'Running manual build commands for the project...'
# Replace with actual build commands, e.g., `make`, `npm install`, etc.
exit 1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"

0 comments on commit 457a2bc

Please sign in to comment.