2022-05-29 16:59:36 -04:00
|
|
|
name: CI-codeql
|
2021-11-02 11:56:02 -04:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-01-04 15:03:33 -05:00
|
|
|
branches: [ "main" ]
|
2021-11-02 11:56:02 -04:00
|
|
|
pull_request:
|
2024-01-04 15:03:33 -05:00
|
|
|
branches: [ "main" ]
|
2021-11-02 11:56:02 -04: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 15:03:33 -05:00
|
|
|
language: [ 'javascript-typescript' ]
|
2021-11-02 11:56:02 -04:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-04 18:34:02 -04:00
|
|
|
uses: actions/checkout@v4
|
2021-11-02 11:56:02 -04:00
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
|
- name: Initialize CodeQL
|
2023-12-18 17:59:47 -05:00
|
|
|
uses: github/codeql-action/init@v3
|
2021-11-02 11:56:02 -04:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2024-01-04 15:03:33 -05:00
|
|
|
config: |
|
|
|
|
paths:
|
|
|
|
- src
|
2021-11-02 11:56:02 -04:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2023-12-18 17:59:47 -05:00
|
|
|
uses: github/codeql-action/analyze@v3
|