-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(workflow): try push directly to url
try push directly to url
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
Submodule tmp
added at
cdc61b