Files
yt-dlp/.github/workflows/codeql.yml
T
dlp-botandbashonly fd26888eb0 [ci] Update 7 actions in 9 workflows (#17925)
* Bump actions/download-artifact v8.0.1 => v8.0.2
* Bump actions/setup-node v7.0.0 => v7.1.0
* Bump actions/setup-python v7.0.0 => v7.1.0
* Bump actions/upload-artifact v7.0.1 => v7.0.2
* Bump github/codeql-action v4.38.2 => v4.39.1
* Bump pypa/gh-action-pypi-publish v1.14.2 => v1.14.3
* Bump zizmorcore/zizmor-action v0.6.4 => v0.8.0

Authored by: bashonly, dlp-bot

Co-authored-by: bashonly <bashonly@protonmail.com>
2026-10-26 20:16:22 +00:00

48 lines
1.3 KiB
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'
permissions: {}
concurrency:
group: codeql-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
actions: read # Needed by github/codeql-action if repository is private
contents: read
security-events: write # Needed to use github/codeql-action with Github Advanced Security
strategy:
fail-fast: false
matrix:
language: [ 'actions', 'javascript-typescript', 'python' ]
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
languages: ${{ matrix.language }}
build-mode: none
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
category: "/language:${{matrix.language}}"