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.