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-09-02 15:13:35 -07:00
|
|
|
uses: github/codeql-action/init@b398f525a5587552e573b247ac661067fafa920b # tag=v2
|
2020-11-21 11:55:47 -07:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
queries: +security-extended
|
|
|
|
- name: Autobuild
|
2022-09-02 15:13:35 -07:00
|
|
|
uses: github/codeql-action/autobuild@b398f525a5587552e573b247ac661067fafa920b # tag=v2
|
2020-11-21 11:55:47 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2022-09-02 15:13:35 -07:00
|
|
|
uses: github/codeql-action/analyze@b398f525a5587552e573b247ac661067fafa920b # tag=v2
|