You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/chatops-binder.yaml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,11 @@ jobs:
25
25
26
26
// use the branch name to make a comment on the PR with a Binder badge
27
27
var BRANCH_NAME = pr.data.head.ref
28
+
var REPO_NAME = pr.data.head.repo.full_name
28
29
github.issues.createComment({
29
30
issue_number: context.payload.issue.number,
30
31
owner: context.repo.owner,
31
32
repo: context.repo.repo,
32
-
body: `[](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: `[](https://mybinder.org/v2/gh/${REPO_NAME}/${BRANCH_NAME}?urlpath=lab/tree/examples/demo.ipynb) :point_left: Launch a binder JupyterLab on this branch`
0 commit comments