We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f8fb99 commit 9d2c4d2Copy full SHA for 9d2c4d2
1 file changed
.github/workflows/winget.yml
@@ -108,6 +108,19 @@ jobs:
108
run: |
109
Invoke-WebRequest -Uri https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
110
111
+ - name: Sync winget-pkgs fork
112
+ shell: pwsh
113
+ env:
114
+ WINGET_PAT: ${{ secrets.WINGET_PAT }}
115
+ run: |
116
+ $headers = @{
117
+ Authorization = "Bearer $env:WINGET_PAT"
118
+ Accept = "application/vnd.github+json"
119
+ }
120
+ $body = '{"branch":"master"}'
121
+ Invoke-RestMethod -Uri "https://api.github.com/repos/tolgamorf/winget-pkgs/merge-upstream" -Method Post -Headers $headers -Body $body -ContentType "application/json"
122
+ Write-Host "Fork synced with upstream"
123
+
124
- name: Submit Winget manifest
125
shell: pwsh
126
env:
0 commit comments