Skip to content

Commit 8bf244c

Browse files
nadavisclaude
andcommitted
fix: configure git remote with token for semantic-release push
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a21e6e9 commit 8bf244c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0 # full history so semantic-release can walk commits
20-
persist-credentials: false
20+
persist-credentials: true
21+
token: ${{ secrets.AUTO_PR_TOKEN }}
2122

2223
- uses: actions/setup-python@v5
2324
with:
@@ -36,5 +37,6 @@ jobs:
3637
run: |
3738
git config user.name "github-actions[bot]"
3839
git config user.email "github-actions[bot]@users.noreply.github.com"
40+
git remote set-url origin https://x-access-token:${{ secrets.AUTO_PR_TOKEN }}@github.com/node9-ai/node9-python.git
3941
semantic-release version
4042
semantic-release publish

0 commit comments

Comments
 (0)