Skip to content

Commit 31bc123

Browse files
committed
feat: use GitHub App for tap authentication
1 parent 50b24aa commit 31bc123

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,18 @@ jobs:
8383
files: dist/*.tar.gz
8484
generate_release_notes: true
8585

86+
- name: Generate App Token
87+
id: app-token
88+
uses: actions/create-github-app-token@v1
89+
with:
90+
app-id: ${{ secrets.APP_ID }}
91+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
92+
owner: saaskit-dev
93+
repositories: homebrew-tap
94+
8695
- name: Update Homebrew Tap
8796
run: |
88-
git clone https://x-access-token:${{ secrets.TAP_TOKEN }}@github.com/saaskit-dev/homebrew-tap.git tap-repo
97+
git clone https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/saaskit-dev/homebrew-tap.git tap-repo
8998
cd tap-repo
9099
91100
# Update formula

0 commit comments

Comments
 (0)