mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: 🛡️ CodeQL Analysis
|
|
|
|
on:
|
|
push:
|
|
branches: [master, develop]
|
|
pull_request:
|
|
branches: [master, develop]
|
|
schedule:
|
|
- cron: '24 2 * * *'
|
|
|
|
|
|
jobs:
|
|
analyze:
|
|
name: 🔎 Analyze with CodeQL
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'javascript-typescript' ]
|
|
|
|
steps:
|
|
- name: 📥 Checkout repository
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
show-progress: false
|
|
fetch-depth: 0
|
|
|
|
- name: 🏁 Initialize CodeQL
|
|
uses: github/codeql-action/init@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
queries: +security-extended,security-and-quality
|
|
|
|
- name: 🛠️ Autobuild
|
|
uses: github/codeql-action/autobuild@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
|
|
|
|
- name: 🧪 Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
|