2024-06-27 09:25:05 +02:00
|
|
|
name: 'CodeQL JS/TS'
|
2023-01-18 20:42:27 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-06-27 09:25:05 +02:00
|
|
|
branches:
|
|
|
|
- cluster
|
|
|
|
- master
|
2023-01-18 20:42:27 +01:00
|
|
|
paths:
|
2024-06-27 09:25:05 +02:00
|
|
|
- '**.js'
|
|
|
|
- '**.ts'
|
|
|
|
- '**.tsx'
|
2023-01-18 20:42:27 +01:00
|
|
|
pull_request:
|
2024-06-27 09:25:05 +02:00
|
|
|
branches:
|
|
|
|
- cluster
|
|
|
|
- master
|
2023-01-18 20:42:27 +01:00
|
|
|
paths:
|
2024-06-27 09:25:05 +02:00
|
|
|
- '**.js'
|
|
|
|
- '**.ts'
|
|
|
|
- '**.tsx'
|
2023-01-18 20:42:27 +01:00
|
|
|
|
2023-02-07 03:12:16 +01:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
2024-06-27 09:25:05 +02:00
|
|
|
|
2023-01-18 20:42:27 +01:00
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-09-07 13:07:56 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-01-18 20:42:27 +01:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
2024-01-22 00:49:17 +01:00
|
|
|
uses: github/codeql-action/init@v3
|
2023-01-18 20:42:27 +01:00
|
|
|
with:
|
2024-06-27 09:25:05 +02:00
|
|
|
languages: javascript-typescript
|
2023-01-18 20:42:27 +01:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2024-01-22 00:49:17 +01:00
|
|
|
uses: github/codeql-action/analyze@v3
|
2023-01-18 20:42:27 +01:00
|
|
|
with:
|
2024-06-27 09:25:05 +02:00
|
|
|
category: 'language:js/ts'
|