Skip to content

Commit

Permalink
chore(workflow): try push directly to url
Browse files Browse the repository at this point in the history
try push directly to url
  • Loading branch information
snomiao committed Dec 30, 2024
1 parent d9f6569 commit af7e6d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/i18n-custom-nodes-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ jobs:
git config --global user.email '[email protected]'
# Configure the remote with token
git remote add pr "https://[email protected]/${{ env.fork_owner }}/${{ env.repository }}.git"
git remote add pr "https://x-access-token:[email protected]/${{ env.fork_owner }}/${{ env.repository }}.git"
git remote -v
# Create and switch to new branch
git checkout -b update-locales
Expand All @@ -133,7 +134,8 @@ jobs:
# Force push to create the branch
echo "Pushing changes to ${{ env.fork_owner }}/${{ env.repository }}"
git push -f pr update-locales
git push -f pr update-locales ||
git push -f https://x-access-token:[email protected]/${{ env.fork_owner }}/${{ env.repository }}.git update-locales
# Create PR using gh cli
gh pr create --title "Update locales for ${{ env.repository }}" --repo ${{ env.owner }}/${{ env.repository }} --head ${{ env.fork_owner }}:update-locales
Expand Down
1 change: 1 addition & 0 deletions tmp
Submodule tmp added at cdc61b

0 comments on commit af7e6d7

Please sign in to comment.