Files
yt-dlp/.github/workflows/codeql.yml
T
dlp-botandGitHub 874af899e7 [ci] Update 7 actions in 10 workflows (#17345)
* Bump actions/checkout v7.0.0 => v7.0.1
* Bump actions/setup-node v6.4.0 => v7.0.0
* Bump actions/setup-python v6.3.0 => v7.0.0
* Bump denoland/setup-deno v2.0.4 => v2.0.5
* Bump github/codeql-action v4.36.3 => v4.37.7
* Bump pypa/gh-action-pypi-publish v1.14.0 => v1.14.2
* Bump zizmorcore/zizmor-action v0.5.7 => v0.6.2

Authored by: dlp-bot
2026-08-16 01:54:39 +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@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
with:
languages: ${{ matrix.language }}
build-mode: none
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
with:
category: "/language:${{matrix.language}}"