mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fix formatting
This commit is contained in:
parent
0ce66acd44
commit
ed32da7833
1 changed files with 32 additions and 32 deletions
64
.github/workflows/codeql.yml
vendored
64
.github/workflows/codeql.yml
vendored
|
|
@ -1,41 +1,41 @@
|
|||
name: "CodeQL"
|
||||
name: "CodeQL"
|
||||
|
||||
# When to run the analysis
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ "main" ] # Run on PRs to main
|
||||
schedule:
|
||||
- cron: '17 10 * * 1' # Weekly scan for new vulnerabilities
|
||||
pull_request:
|
||||
branches: ["main"] # Run on PRs to main
|
||||
schedule:
|
||||
- cron: "17 10 * * 1" # Weekly scan for new vulnerabilities
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
# Permissions needed by CodeQL
|
||||
permissions:
|
||||
actions: read # Read workflow
|
||||
contents: read # Read code
|
||||
security-events: write # Write security alerts
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
# Permissions needed by CodeQL
|
||||
permissions:
|
||||
actions: read # Read workflow
|
||||
contents: read # Read code
|
||||
security-events: write # Write security alerts
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# Tell CodeQL what type of code to analyze
|
||||
language: [ 'javascript-typescript' ]
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# Tell CodeQL what type of code to analyze
|
||||
language: ["javascript-typescript"]
|
||||
|
||||
steps:
|
||||
# Get the code
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
steps:
|
||||
# Get the code
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Set up CodeQL tools
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# Set up CodeQL tools
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
# Run the actual analysis
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
# Run the actual analysis
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue