Skip to content

Commit

Permalink
fix remote 'fork not existing'
Browse files Browse the repository at this point in the history
  • Loading branch information
lbarraga committed Sep 10, 2024
1 parent 24b3d49 commit 0e2bd1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/modules_auto_pr/modules_auto_pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ main() {
N_REMOVED_MODULES=$(git show --name-status HEAD | grep -e "^D.*\.md$" | wc -l)

# Push the new branch to GitHub
git remote add fork_${fork_user} "$fork_url"
git remote add fork "$fork_url"
git push fork "$BRANCH_NAME"

# Set the ugent repo as the default remote
# Set the UGent repo as the default remote
gh repo set-default $REPO_URL

# Create a pull request using GitHub CLI. Pull request is automatically created into the default repository.
Expand Down

0 comments on commit 0e2bd1a

Please sign in to comment.