Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(ci): add origin argument to git remote set-url

EtienneLescot1ac88ac1ea8a
diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml
index f80fea640..5599f20a2 100644
--- a/.github/workflows/prerelease.yml
+++ b/.github/workflows/prerelease.yml
@@ -93,7 +93,7 @@ jobs:
# Push via the PAT so the repo ruleset bypass (set for EtienneLescot) applies.
# actions/checkout@v4 defaults to GITHUB_TOKEN which uses github-actions[bot],
# a different actor that is NOT in the bypass list.
- git remote set-url "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
+ git remote set-url origin "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git add package.json
git commit -m "chore(release): bump to ${{ steps.version.outputs.prerelease }} [skip ci]"
git push
diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml
index 80b3b68d4..0dc19558d 100644
--- a/.github/workflows/promote.yml
+++ b/.github/workflows/promote.yml
@@ -77,7 +77,7 @@ jobs:
# Push via the PAT so the repo ruleset bypass (set for EtienneLescot) applies.
# actions/checkout@v4 defaults to GITHUB_TOKEN which uses github-actions[bot],
# a different actor that is NOT in the bypass list.
- git remote set-url "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
+ git remote set-url origin "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git add package.json
git commit -m "chore(release): bump to ${{ steps.version.outputs.stable_version }} [skip ci]"
git push