Skip to content

Commit dde2afb

Browse files
fix: ensure app token is correctly scoped (#4517)
* fix: ensure app token is correctly scoped * Update .github/workflows/release.yml --------- Co-authored-by: Han Qiao <sweatybridge@gmail.com>
1 parent dbc6cf6 commit dde2afb

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ 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
38+
supabase
3339
3440
commit:
3541
name: Publish Brew and Scoop

0 commit comments

Comments
 (0)