GHAS Code Scanning #65
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: "GHAS Code Scanning" | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
# Run on pull requests to main | |
branches: [ main ] | |
schedule: | |
# Run every Sunday at 00:15 to catch anything missed during the week | |
- cron: '15 0 * * 0' | |
jobs: | |
CodeQL: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v1 | |
with: | |
# This configures the languages CodeQL will scan | |
languages: "javascript,python" | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v1 |