mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-10-07 03:23:37 +00:00
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
name: GitHub CodeQL 🔬
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref || github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
merge_group:
|
|
workflow_call:
|
|
schedule:
|
|
- cron: 0 0 * * MON,FRI
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze 🔬
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language:
|
|
- javascript-typescript
|
|
|
|
steps:
|
|
- name: Checkout repository ⬇️
|
|
uses: actions/checkout@v4.1.4
|
|
with:
|
|
show-progress: false
|
|
|
|
- name: Initialize CodeQL 🛠️
|
|
uses: github/codeql-action/init@v3.25.3
|
|
with:
|
|
queries: security-and-quality
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Autobuild 📦
|
|
uses: github/codeql-action/autobuild@v3.25.3
|
|
|
|
- name: Perform CodeQL Analysis 🧪
|
|
uses: github/codeql-action/analyze@v3.25.3
|
|
with:
|
|
category: '/language:${{matrix.language}}'
|