Skip to content

Commit e563854

Browse files
committed
Update release flow
1 parent 7535bc8 commit e563854

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
@@ -30,9 +30,18 @@ jobs:
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232

33+
- uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
34+
id: app-token
35+
with:
36+
app-id: ${{ secrets.BUMP_APP_ID }}
37+
private-key: ${{ secrets.BUMP_APP_PRIVATE_KEY }}
38+
owner: built-fast
39+
repositories: homebrew-devtools
40+
permission-actions: write
41+
3342
- name: Update Homebrew formula
3443
env:
35-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
44+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
3645
run: |
3746
gh workflow run bump-formula.yml \
3847
-f version="${GITHUB_REF_NAME}" \

0 commit comments

Comments
 (0)