mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2025-02-22 21:36:23 +00:00
41 lines
950 B
YAML
41 lines
950 B
YAML
name: GitHub CodeQL 🔬
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
commit:
|
|
required: true
|
|
type: string
|
|
jobs:
|
|
analyze:
|
|
name: Analyze ${{ matrix.language }} 🔬
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language:
|
|
- javascript-typescript
|
|
|
|
steps:
|
|
- name: Checkout repository ⬇️
|
|
uses: actions/checkout@v4.2.2
|
|
with:
|
|
ref: ${{ inputs.commit }}
|
|
show-progress: false
|
|
|
|
- name: Initialize CodeQL 🛠️
|
|
uses: github/codeql-action/init@v3.28.9
|
|
with:
|
|
queries: security-and-quality
|
|
languages: ${{ matrix.language }}
|
|
dependency-caching: true
|
|
|
|
- name: Autobuild 📦
|
|
uses: github/codeql-action/autobuild@v3.28.9
|
|
|
|
- name: Perform CodeQL Analysis 🧪
|
|
uses: github/codeql-action/analyze@v3.28.9
|
|
with:
|
|
category: '/language:${{matrix.language}}'
|