fix: add actions:read permission for cross-run artifact downloads

The deploy and publish jobs use download-artifact with run-id to fetch
artifacts from the triggering build workflow. This requires actions:read
permission, which was missing from both jobs.
This commit is contained in:
Andrew Rabert
2026-02-26 23:32:15 -05:00
parent 86c37d4e5a
commit 25bb2b6fd4
+3
View File
@@ -19,6 +19,7 @@ jobs:
name: Deploy to GitHub Pages
permissions:
actions: read
pages: write
id-token: write
concurrency: build-deploy-pages
@@ -55,6 +56,8 @@ jobs:
github.repository == 'jellyfin/jellyfin.org'
name: Deploy to Cloudflare Pages
permissions:
actions: read
runs-on: ubuntu-latest
steps:
- name: Set PR metadata