1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-27 10:01:24 +00:00

[ci] Explicitly declare permissions and limit credentials (#15324)

Authored by: bashonly
This commit is contained in:
bashonly
2025-12-19 13:22:23 -06:00
committed by GitHub
parent 825648a740
commit a6a8f6b6d6
13 changed files with 96 additions and 43 deletions

View File

@@ -4,10 +4,14 @@ on:
schedule:
- cron: '0 22 1,6,11,16,21,27 * *'
permissions: {}
jobs:
build:
if: |
vars.KEEP_CACHE_WARM || github.event_name == 'workflow_dispatch'
permissions:
contents: read
uses: ./.github/workflows/build.yml
with:
version: '999999'
@@ -19,5 +23,3 @@ jobs:
musllinux: false
macos: true
windows: true
permissions:
contents: read