2020-05-06 16:58:36 +00:00
|
|
|
name: "Code Scanning - Action"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-06-01 14:11:52 +00:00
|
|
|
branches:
|
|
|
|
- main
|
2021-01-15 11:22:00 +00:00
|
|
|
pull_request:
|
2020-05-06 16:58:36 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
CodeQL-Build:
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
|
|
|
|
|
|
|
|
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-12-08 04:44:48 +00:00
|
|
|
uses: actions/checkout@v2
|
2020-05-06 16:58:36 +00:00
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v1
|
|
|
|
with:
|
|
|
|
languages: javascript
|
|
|
|
|
|
|
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
|
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
|
|
- name: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@v1
|
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v1
|