2024-06-27 07:25:05 +00:00
|
|
|
name: 'CodeQL JS/TS'
|
2023-01-18 19:42:27 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-06-27 07:25:05 +00:00
|
|
|
branches:
|
|
|
|
- cluster
|
|
|
|
- master
|
2023-01-18 19:42:27 +00:00
|
|
|
paths:
|
2024-06-27 07:25:05 +00:00
|
|
|
- '**.js'
|
|
|
|
- '**.ts'
|
|
|
|
- '**.tsx'
|
2023-01-18 19:42:27 +00:00
|
|
|
pull_request:
|
2024-06-27 07:25:05 +00:00
|
|
|
branches:
|
|
|
|
- cluster
|
|
|
|
- master
|
2023-01-18 19:42:27 +00:00
|
|
|
paths:
|
2024-06-27 07:25:05 +00:00
|
|
|
- '**.js'
|
|
|
|
- '**.ts'
|
|
|
|
- '**.tsx'
|
2023-01-18 19:42:27 +00:00
|
|
|
|
2023-02-07 02:12:16 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
2024-06-27 07:25:05 +00:00
|
|
|
|
2023-01-18 19:42:27 +00:00
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
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:
|
2024-06-27 07:25:05 +00:00
|
|
|
languages: javascript-typescript
|
2023-01-18 19:42:27 +00:00
|
|
|
|
|
|
|
- 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:
|
2024-06-27 07:25:05 +00:00
|
|
|
category: 'language:js/ts'
|