Skip to content

Commit 242b7bc

Browse files
committed
fix: ensure app token is correctly scoped
1 parent dbc6cf6 commit 242b7bc

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/release-beta.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ jobs:
7777
with:
7878
app-id: ${{ secrets.APP_ID }}
7979
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
80+
owner: ${{ github.repository_owner }}
81+
repositories: |
82+
cli
83+
homebrew-tap
84+
scoop-bucket
8085
- run: go run tools/publish/main.go --beta "${{ needs.release.outputs.new-release-version }}"
8186
env:
8287
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
with:
3131
app-id: ${{ secrets.APP_ID }}
3232
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
33+
owner: ${{ github.repository_owner }}
34+
repositories: |
35+
cli
36+
homebrew-tap
37+
scoop-bucket
3338
3439
commit:
3540
name: Publish Brew and Scoop

0 commit comments

Comments
 (0)