2022-05-29 20:59:36 +00:00
|
|
|
name: CI-codeql
|
2021-11-02 15:56:02 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-01-04 20:03:33 +00:00
|
|
|
branches: [ "main" ]
|
2021-11-02 15:56:02 +00:00
|
|
|
pull_request:
|
2024-01-04 20:03:33 +00:00
|
|
|
branches: [ "main" ]
|
2021-11-02 15:56:02 +00:00
|
|
|
schedule:
|
|
|
|
- cron: '25 23 * * 2'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2024-01-04 20:03:33 +00:00
|
|
|
language: [ 'javascript-typescript' ]
|
2021-11-02 15:56:02 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-04 22:34:02 +00:00
|
|
|
uses: actions/checkout@v4
|
2021-11-02 15:56:02 +00:00
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
|
- name: Initialize CodeQL
|
2023-12-18 22:59:47 +00:00
|
|
|
uses: github/codeql-action/init@v3
|
2021-11-02 15:56:02 +00:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2024-01-04 20:03:33 +00:00
|
|
|
config: |
|
|
|
|
paths:
|
|
|
|
- src
|
2021-11-02 15:56:02 +00:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2023-12-18 22:59:47 +00:00
|
|
|
uses: github/codeql-action/analyze@v3
|