mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-09 23:12:17 +01:00
Closes #15160, Closes #15184 Authored by: bashonly, seproDev, RezSat, oxyzenQ Co-authored-by: sepro <sepro@sepr0.com> Co-authored-by: Yehan Wasura <yehantest@gmail.com> Co-authored-by: rezky_nightky <with.rezky@gmail.com>
40 lines
865 B
YAML
40 lines
865 B
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'master' ]
|
|
pull_request:
|
|
# The branches below must be a subset of the branches above
|
|
branches: [ 'master' ]
|
|
schedule:
|
|
- cron: '59 11 * * 5'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze (${{ matrix.language }})
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'actions', 'javascript-typescript', 'python' ]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v4
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
build-mode: none
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v4
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|