Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Commit 74be8ac

Browse files
committed
set-url
1 parent 44c990a commit 74be8ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ runs:
112112
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
113113
git commit -m "${{ inputs.commit-message }}"
114114
115+
# Configure remote with token (critical!)
116+
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
117+
115118
# Skip push if in test mode
116119
if [[ "${TEST_MODE}" == "true" ]]; then
117120
echo "🧪 Test mode enabled, skipping push"

0 commit comments

Comments
 (0)