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:
6
.github/workflows/cache-warmer.yml
vendored
6
.github/workflows/cache-warmer.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user