2022-05-29 14:59:36 -06:00
|
|
|
name: CI-codeql
|
2021-11-02 11:56:02 -04:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-01-04 13:03:33 -07:00
|
|
|
branches: [ "main" ]
|
2021-11-02 11:56:02 -04:00
|
|
|
pull_request:
|
2024-01-04 13:03:33 -07: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 13:03:33 -07:00
|
|
|
language: [ 'javascript-typescript' ]
|
2021-11-02 11:56:02 -04:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-04 22:34:02 +00: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 22:59:47 +00:00
|
|
|
uses: github/codeql-action/init@v3
|
2021-11-02 11:56:02 -04:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
2024-01-04 13:03:33 -07:00
|
|
|
config: |
|
|
|
|
paths:
|
|
|
|
- src
|
2021-11-02 11:56:02 -04:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2023-12-18 22:59:47 +00:00
|
|
|
uses: github/codeql-action/analyze@v3
|