Skip to content

Security - CodeQL - main #18

Security - CodeQL - main

Security - CodeQL - main #18

name: Security - CodeQL
run-name: ${{ github.workflow }} - ${{ github.ref_name }}
on:
schedule:
- cron: "0 3 * * 0"
push:
branches: [main]
paths:
- "**/*.js"
- "**/*.jsx"
- "**/*.ts"
- "**/*.tsx"
- "**/*.py"
- ".github/workflows/codeql.yml"
pull_request:
branches: [main]
paths:
- "**/*.js"
- "**/*.jsx"
- "**/*.ts"
- "**/*.tsx"
- "**/*.py"
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze (CodeQL)
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: "javascript-typescript,python"
- name: Autobuild
uses: github/codeql-action/autobuild@v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:javascript-typescript"