From 15f2df0cbf2d17cf3245481694d97f0e02f441c1 Mon Sep 17 00:00:00 2001 From: DARKZOUL5 Date: Thu, 11 Jun 2026 15:37:52 +0300 Subject: [PATCH] ci: use dedicated token for yt-dlp update PRs --- .github/workflows/update-yt-dlp.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-yt-dlp.yml b/.github/workflows/update-yt-dlp.yml index 3d6ab9c..ca32263 100644 --- a/.github/workflows/update-yt-dlp.yml +++ b/.github/workflows/update-yt-dlp.yml @@ -78,6 +78,9 @@ jobs: if: steps.detect.outputs.needs_update == 'true' uses: peter-evans/create-pull-request@v8 with: + # Use a non-GITHUB_TOKEN credential so the resulting PR triggers CI workflows. + # Configure secrets.PR_WORKFLOW_TOKEN with contents:write and pull-requests:write. + token: ${{ secrets.PR_WORKFLOW_TOKEN || github.token }} branch: chore/refresh-yt-dlp commit-message: "chore: bump yt-dlp to ${{ steps.detect.outputs.latest_yt_dlp }}" title: "chore: bump yt-dlp to ${{ steps.detect.outputs.latest_yt_dlp }}"