From a5b84fdc7152831daa506f4d231bc0b37fe9ae51 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 15 Sep 2026 09:16:52 +0000 Subject: [PATCH] ci: use github.token for packaging dispatch proxy MY_GITHUB_TOKEN is unset on repository_dispatch runs, so the proxy failed before Linux_AppImage or Windows_MSI could start. Grant actions write and dispatch with the workflow token instead. Co-authored-by: michael berry --- .github/workflows/dispatch-packaging.yml | 3 ++- changes/cursor-fix-dispatch-token-695b.md | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changes/cursor-fix-dispatch-token-695b.md diff --git a/.github/workflows/dispatch-packaging.yml b/.github/workflows/dispatch-packaging.yml index 3f8223e8..76f19a97 100644 --- a/.github/workflows/dispatch-packaging.yml +++ b/.github/workflows/dispatch-packaging.yml @@ -8,6 +8,7 @@ on: # workflow_dispatch. Dispatches the exact-SHA packaging workflows unchanged. permissions: contents: read + actions: write jobs: dispatch: @@ -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-695b.md b/changes/cursor-fix-dispatch-token-695b.md new file mode 100644 index 00000000..fb2e7229 --- /dev/null +++ b/changes/cursor-fix-dispatch-token-695b.md @@ -0,0 +1,4 @@ +Category: internal +Audience: contributors +Breaking-Change: no +Summary: Use the workflow GITHUB_TOKEN with actions write permission to dispatch Linux and Windows packaging workflows from the repository_dispatch proxy.