Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

ci: sync winget-pkgs fork before publishing

Maximilian Roosa1283dae1670
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 527d50b3f..5dc807571 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -297,7 +297,12 @@ jobs:
- host
runs-on: ubuntu-latest
if: ${{ needs.plan.outputs.publishing == 'true' }}
+ env:
+ GH_TOKEN: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
steps:
+ - name: Sync winget-pkgs fork with upstream
+ run: |
+ gh api -X POST repos/max-sixty/winget-pkgs/merge-upstream -f branch=master
- name: Publish to winget
uses: vedantmgoyal9/winget-releaser@v2
with: