Skip to content

Commit 4858766

Browse files
authored
fix release workflow (#377)
The actions/create-github-app-token@v2 action by default creates a token scoped only to the current repository. To access the spacelift-io/winget-pkgs repository, we need to explicitly specify the repositories parameter. Fixes #360
1 parent bbd89a6 commit 4858766

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
app-id: ${{ secrets.WINGET_APP_ID }}
2424
private-key: ${{ secrets.WINGET_APP_PRIVATE_KEY }}
25+
owner: ${{ github.repository_owner }}
26+
repositories: |
27+
winget-pkgs
2528
2629
- name: Checkout
2730
uses: actions/checkout@v6

0 commit comments

Comments
 (0)