CodeQL #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |