Skip to content

CodeQL

CodeQL #67

name: "CodeQL"
permissions:
contents: read
on:
push:
branches: [ master ]
paths:
- 'src/**/*' # Trigger only when files in src folder are changed
pull_request:
branches: [ master ]
paths:
- 'src/**/*' # Trigger only when files in src folder are changed
schedule:
- cron: '0 14 * * 0' # Schedule a weekly run
workflow_dispatch: # Allows the workflow to be run manually
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: typescript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3