Skip to content

Commit c36f590

Browse files
authored
Switch from hub to gh (#141)
1 parent 87262bd commit c36f590

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/update_env.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,10 @@ jobs:
5959
6060
git config user.name "github-actions[bot]"
6161
git config user.email "github-actions[bot]@users.noreply.github.com"
62-
# Needed for hub to create the pull request correctly
63-
# Ref: https://github.com/github/hub/issues/1538 https://github.com/github/hub/pull/1705
64-
git remote set-head origin --auto
6562
6663
git add .binder/environment.yml
6764
git commit -m "Update environment"
6865
6966
git push --set-upstream origin "${BRANCH_NAME}"
70-
hub pull-request -b "master" -m "New update available at ${SHA}" -m "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/${BRANCH_NAME}?urlpath=lab) :point_left: Launch a Binder on branch _${BRANCH_NAME}_"
67+
gh pr create -B "master" -t "New update available at ${SHA}" -b "[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/${BRANCH_NAME}?urlpath=lab) :point_left: Launch a Binder on branch _${BRANCH_NAME}_"
7168
fi

0 commit comments

Comments
 (0)