2023-01-18 19:42:27 +00:00
|
|
|
name: "CodeQL - JS"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master, cluster]
|
|
|
|
paths:
|
|
|
|
- "**.js"
|
|
|
|
pull_request:
|
|
|
|
# The branches below must be a subset of the branches above
|
|
|
|
branches: [master, cluster]
|
|
|
|
paths:
|
|
|
|
- "**.js"
|
|
|
|
schedule:
|
|
|
|
- cron: "30 18 * * 2"
|
|
|
|
|
2023-02-07 02:12:16 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-01-18 19:42:27 +00:00
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: ["javascript"]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-07 11:07:56 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-01-18 19:42:27 +00:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
2024-01-21 23:49:17 +00:00
|
|
|
uses: github/codeql-action/init@v3
|
2023-01-18 19:42:27 +00:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2024-01-21 23:49:17 +00:00
|
|
|
uses: github/codeql-action/analyze@v3
|
2023-01-18 19:42:27 +00:00
|
|
|
with:
|
|
|
|
category: "javascript"
|