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