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/binder-badge.yaml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
-
#./.github/workflows/binder-badge.yaml
2
-
name: Binder Badge
1
+
#./.github/workflows/colab-badge.yaml
2
+
name: Colab Badge
3
3
on:
4
4
pull_request_target:
5
5
types: [opened]
6
6
7
7
jobs:
8
-
binder:
8
+
colab:
9
9
runs-on: ubuntu-latest
10
10
permissions:
11
11
pull-requests: write
12
12
steps:
13
-
- name: comment on PR with Binder link
14
-
uses: actions/github-script@v3
13
+
- name: comment on PR with Colab link
14
+
uses: actions/github-script@v8
15
15
with:
16
16
github-token: ${{secrets.GITHUB_TOKEN}}
17
17
script: |
@@ -21,7 +21,7 @@ jobs:
21
21
issue_number: context.issue.number,
22
22
owner: context.repo.owner,
23
23
repo: context.repo.repo,
24
-
body: `[](https://mybinder.org/v2/gh/${PR_HEAD_USERREPO}/${PR_HEAD_REF}) :point_left: Launch a binder notebook on branch _${PR_HEAD_USERREPO}/${PR_HEAD_REF}_`
24
+
body: `[](https://colab.research.google.com/github/OpenFreeEnergy/ExampleNotebooks/blob/${PR_HEAD_REF}/showcase)) :point_left: Launch a Colab session on branch ``${PR_HEAD_REF}``.
0 commit comments