Skip to content

Feat/risk ai summary #2282

Feat/risk ai summary

Feat/risk ai summary #2282

Workflow file for this run

name: "CodeQL"
on:
pull_request:
branches: [ "**" ]
push:
branches: [ "main" ]
workflow_dispatch:
inputs:
target_branch:
description: 'Branch to run the workflow against'
required: true
default: 'main'
schedule:
- cron: '00 6 * * *'
jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
packages: read
strategy:
fail-fast: false
matrix:
language: [ "python", "javascript-typescript","actions" ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.target_branch || github.ref }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"