From e162208f80f6cb454253b322700da339498af196 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 15 Sep 2026 09:18:00 +0000 Subject: [PATCH] ci: use github.token for dispatch-packaging proxy MY_GITHUB_TOKEN was empty in the Dispatch_Packaging workflow, so repository_dispatch could not trigger packaging. Use github.token with actions:write instead. Co-authored-by: michael berry --- .github/workflows/dispatch-packaging.yml | 3 ++- changes/cursor-fix-dispatch-token-6547.md | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changes/cursor-fix-dispatch-token-6547.md diff --git a/.github/workflows/dispatch-packaging.yml b/.github/workflows/dispatch-packaging.yml index 3f8223e8..e52d24bc 100644 --- a/.github/workflows/dispatch-packaging.yml +++ b/.github/workflows/dispatch-packaging.yml @@ -7,6 +7,7 @@ on: # Proxy for agents or automation that can send repository_dispatch but not # workflow_dispatch. Dispatches the exact-SHA packaging workflows unchanged. permissions: + actions: write contents: read jobs: @@ -24,7 +25,7 @@ jobs: - name: Dispatch Linux and Windows package workflows env: - GH_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} + GH_TOKEN: ${{ github.token }} SOURCE_SHA: ${{ github.event.client_payload.source_sha }} run: | gh workflow run LinuxInstall.yml --repo studio-berry/loop --ref stable \ diff --git a/changes/cursor-fix-dispatch-token-6547.md b/changes/cursor-fix-dispatch-token-6547.md new file mode 100644 index 00000000..823f5eff --- /dev/null +++ b/changes/cursor-fix-dispatch-token-6547.md @@ -0,0 +1,4 @@ +Category: internal +Audience: release operators and cloud agents +Breaking-Change: no +Summary: Fix Dispatch_Packaging to use github.token with actions:write so repository_dispatch can trigger Linux_AppImage and Windows_MSI workflows.