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
|
2023-04-19 05:58:03 -07:00
|
|
|
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
2020-11-21 11:55:47 -07:00
|
|
|
- name: Initialize CodeQL
|
2023-05-24 16:28:47 -07:00
|
|
|
uses: github/codeql-action/init@f0e3dfb30302f8a0881bb509b044e0de4f6ef589 # v2.3.4
|
2020-11-21 11:55:47 -07:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
queries: +security-extended
|
|
|
|
- name: Autobuild
|
2023-05-24 16:28:47 -07:00
|
|
|
uses: github/codeql-action/autobuild@f0e3dfb30302f8a0881bb509b044e0de4f6ef589 # v2.3.4
|
2020-11-21 11:55:47 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2023-05-24 16:28:47 -07:00
|
|
|
uses: github/codeql-action/analyze@f0e3dfb30302f8a0881bb509b044e0de4f6ef589 # v2.3.4
|