Skip to content

Commit a8ac25c

Browse files
committed
Created new github token
1 parent d62dbe5 commit a8ac25c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
with:
126126
repository: manucodin/homebrew-swift-mock-generator
127127
path: homebrew-tap
128+
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
128129
fetch-depth: 0
129130

130131
- name: Update Homebrew formula
@@ -158,7 +159,7 @@ jobs:
158159
git config user.email "github-actions[bot]@users.noreply.github.com"
159160
160161
# Configure git to use the token for authentication
161-
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/manucodin/homebrew-swift-mock-generator.git
162+
git remote set-url origin https://x-access-token:${{ secrets.HOMEBREW_TAP_TOKEN }}@github.com/manucodin/homebrew-swift-mock-generator.git
162163
163164
# Check if there are changes
164165
if git diff --quiet; then

0 commit comments

Comments
 (0)