🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update translation workflows to set remote URL with GitHub token for improved authentication during automated commits.
Bill Yangff3b6f35030e
diff --git a/.github/workflows/translate-docs.yml b/.github/workflows/translate-docs.ymlindex bd4ed8e61..a219bd8bc 100644--- a/.github/workflows/translate-docs.yml+++ b/.github/workflows/translate-docs.yml@@ -124,6 +124,7 @@ jobs:run: |git config user.name "github-actions[bot]"git config user.email "github-actions[bot]@users.noreply.github.com"+ git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"if git diff --quiet docs/messages/; thenecho "No translation changes to commit."diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.ymlindex cac0f7dc2..39e267be4 100644--- a/.github/workflows/translate.yml+++ b/.github/workflows/translate.yml@@ -123,6 +123,7 @@ jobs:run: |git config user.name "github-actions[bot]"git config user.email "github-actions[bot]@users.noreply.github.com"+ git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"if git diff --quiet client/messages/; thenecho "No translation changes to commit."