mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-05-19 13:52:36 +00:00
* Bump actions/cache v5.0.3 => v5.0.5 * Bump actions/setup-node v6.3.0 => v6.4.0 * Bump actions/upload-artifact v7.0.0 => v7.0.1 * Bump denoland/setup-deno v2.0.3 => v2.0.4 * Bump github/codeql-action v4.33.0 => v4.35.2 * Bump pypa/gh-action-pypi-publish v1.13.0 => v1.14.0 * Bump rhysd/actionlint 1.7.11 => 1.7.12 * Bump zizmorcore/zizmor-action v0.5.2 => v0.5.3 Authored by: bashonly
48 lines
1.3 KiB
YAML
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
build-mode: none
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|