Skip to content

Commit 1ac88ac

Browse files
committed
fix(ci): add origin argument to git remote set-url
1 parent 9c93d9d commit 1ac88ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/prerelease.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
# Push via the PAT so the repo ruleset bypass (set for EtienneLescot) applies.
9494
# actions/checkout@v4 defaults to GITHUB_TOKEN which uses github-actions[bot],
9595
# a different actor that is NOT in the bypass list.
96-
git remote set-url "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
96+
git remote set-url origin "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
9797
git add package.json
9898
git commit -m "chore(release): bump to ${{ steps.version.outputs.prerelease }} [skip ci]"
9999
git push

‎.github/workflows/promote.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
# Push via the PAT so the repo ruleset bypass (set for EtienneLescot) applies.
7878
# actions/checkout@v4 defaults to GITHUB_TOKEN which uses github-actions[bot],
7979
# a different actor that is NOT in the bypass list.
80-
git remote set-url "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
80+
git remote set-url origin "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
8181
git add package.json
8282
git commit -m "chore(release): bump to ${{ steps.version.outputs.stable_version }} [skip ci]"
8383
git push

0 commit comments

Comments
 (0)