mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-03-18 03:46:19 +03:00
* Bump actions/cache v5.0.2 → v5.0.3 * Bump actions/download-artifact v7.0.0 → v8.0.1 * Bump actions/setup-node v6.2.0 → v6.3.0 * Bump actions/upload-artifact v6.0.0 → v7.0.0 * Bump docker/setup-qemu-action v3.7.0 → v4.0.0 * Bump github/codeql-action v4.31.9 → v4.33.0 * Bump oven-sh/setup-bun v2.1.2 → v2.2.0 * Bump zizmorcore/zizmor-action v0.4.1 → v0.5.2 * Bump actionlint v1.7.9 → v1.7.11 * Bump zizmor v1.22.0 → v1.23.1 * Adapt zizmor configuration to new version 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@b1bff81932f5cdfc8695c7752dcee935dcd061c8 # v4.33.0
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
build-mode: none
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@b1bff81932f5cdfc8695c7752dcee935dcd061c8 # v4.33.0
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|