Skip to content

Commit c146ab7

Browse files
committed
fix colab badge
1 parent 2478b4e commit c146ab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/binder-badge.yaml renamed to .github/workflows/colab-badge.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
pull-requests: write
1212
steps:
1313
- name: comment on PR with Colab link
14-
uses: actions/github-script@v8
14+
uses: actions/github-script@v3
1515
with:
1616
github-token: ${{secrets.GITHUB_TOKEN}}
1717
script: |
1818
var PR_HEAD_USERREPO = process.env.PR_HEAD_USERREPO;
1919
var PR_HEAD_REF = process.env.PR_HEAD_REF;
20-
github.issues.createComment({
20+
github.rest.issues.createComment({
2121
issue_number: context.issue.number,
2222
owner: context.repo.owner,
2323
repo: context.repo.repo,

0 commit comments

Comments
 (0)