Skip to content

Commit 7877c56

Browse files
authored
Correct binder url to point to fork
1 parent d179782 commit 7877c56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/chatops-binder.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ jobs:
2525
2626
// use the branch name to make a comment on the PR with a Binder badge
2727
var BRANCH_NAME = pr.data.head.ref
28+
var REPO_NAME = pr.data.head.repo.full_name
2829
github.issues.createComment({
2930
issue_number: context.payload.issue.number,
3031
owner: context.repo.owner,
3132
repo: context.repo.repo,
32-
body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${context.repo.owner}/${context.repo.repo}/${BRANCH_NAME}?urlpath=lab/tree/examples/demo.ipynb) :point_left: Launch a binder JupyterLab on this branch`
33+
body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${REPO_NAME}/${BRANCH_NAME}?urlpath=lab/tree/examples/demo.ipynb) :point_left: Launch a binder JupyterLab on this branch`
3334
})
3435
})

0 commit comments

Comments
 (0)