Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

small fix

daniel31x1386a5d0f9651a
diff --git a/.github/workflows/locale-action.yml b/.github/workflows/locale-action.yml
index 2e05db0c..75637fb5 100644
--- a/.github/workflows/locale-action.yml
+++ b/.github/workflows/locale-action.yml
@@ -36,6 +36,10 @@ jobs:
run: |
pip install --quiet git-filter-repo
+ - name: Capture origin URL # run **before** filter-repo
+ id: save_remote
+ run: echo "REMOTE_URL=$(git remote get-url origin)" >> $GITHUB_OUTPUT
+
- name: Rewrite every commit’s author/committer
env:
NEW_NAME: "LinkwardenBot"
@@ -49,6 +53,8 @@ jobs:
commit.committer_email = b"${NEW_EMAIL}"
'
- - name: Force-push the rewritten branch back to GitHub
- run: |
- git push --force-with-lease origin HEAD:${{ github.event.pull_request.head.ref }}
\ No newline at end of file
+ - name: Restore the origin remote # run **after** filter-repo
+ run: git remote add origin "${{ steps.save_remote.outputs.REMOTE_URL }}"
+
+ - name: Force-push the rewritten branch
+ run: git push --force-with-lease origin HEAD:${{ github.event.pull_request.head.ref }}
\ No newline at end of file