2022-04-12 02:00:54 -07:00
|
|
|
---
|
2020-12-02 15:48:39 -08:00
|
|
|
name: "CodeQL"
|
|
|
|
|
2023-01-25 11:12:26 -08:00
|
|
|
on:
|
2022-09-06 07:58:50 -07:00
|
|
|
workflow_call:
|
2020-12-02 15:48:39 -08:00
|
|
|
schedule:
|
2021-06-12 03:47:47 -07:00
|
|
|
- cron: "26 14 * * 1"
|
2020-12-02 15:48:39 -08:00
|
|
|
|
2022-09-07 21:27:16 -07:00
|
|
|
permissions:
|
|
|
|
contents: read
|
2022-09-19 01:17:46 -07:00
|
|
|
security-events: write
|
2022-09-07 21:27:16 -07:00
|
|
|
|
2020-12-02 15:48:39 -08:00
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
2022-04-12 02:00:54 -07:00
|
|
|
permissions:
|
|
|
|
security-events: write
|
2020-12-02 15:48:39 -08:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2024-03-06 10:27:01 -08:00
|
|
|
language: ["javascript"]
|
2020-12-02 15:48:39 -08:00
|
|
|
|
|
|
|
steps:
|
2021-06-12 03:47:47 -07:00
|
|
|
- name: Checkout repository
|
2024-10-06 11:01:57 -07:00
|
|
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
2020-12-02 15:48:39 -08:00
|
|
|
|
2021-06-12 03:47:47 -07:00
|
|
|
- name: Initialize CodeQL
|
2024-10-01 16:46:14 -07:00
|
|
|
uses: github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
|
2021-06-12 03:47:47 -07:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2020-12-02 15:48:39 -08:00
|
|
|
|
2021-06-12 03:47:47 -07:00
|
|
|
- name: Autobuild
|
2024-10-01 16:46:14 -07:00
|
|
|
uses: github/codeql-action/autobuild@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
|
2020-12-02 15:48:39 -08:00
|
|
|
|
2021-06-12 03:47:47 -07:00
|
|
|
- name: Perform CodeQL Analysis
|
2024-10-01 16:46:14 -07:00
|
|
|
uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
|