2020-11-21 11:55:47 -07:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
schedule:
|
|
|
|
- cron: '30 7 * * 6'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [ 'javascript' ]
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-08-17 10:22:21 -07:00
|
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
|
2020-11-21 11:55:47 -07:00
|
|
|
- name: Initialize CodeQL
|
2022-08-17 10:22:21 -07:00
|
|
|
uses: github/codeql-action/init@2ca79b6fa8d3ec278944088b4aa5f46912db5d63 # tag=v2
|
2020-11-21 11:55:47 -07:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
queries: +security-extended
|
|
|
|
- name: Autobuild
|
2022-08-17 10:22:21 -07:00
|
|
|
uses: github/codeql-action/autobuild@2ca79b6fa8d3ec278944088b4aa5f46912db5d63 # tag=v2
|
2020-11-21 11:55:47 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2022-08-17 10:22:21 -07:00
|
|
|
uses: github/codeql-action/analyze@2ca79b6fa8d3ec278944088b4aa5f46912db5d63 # tag=v2
|