Skip to content

Commit

Permalink
Merge branch 'main' into forked-binder-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AnirudhVIyer authored Jun 26, 2023
2 parents b678e2c + 26b761c commit 7101b72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/binder-badge.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Binder Badge
on:
pull_request:
types: [opened, synchronize]
pull_request_target:
types: [opened, synchronize]

Expand All @@ -14,13 +16,15 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
console.log("Context:", JSON.stringify(context, null, 2)); // For debugging
var PR_HEAD_REF = github.context.payload.pull_request.head.ref;
var PR_HEAD_USERREPO = github.context.payload.pull_request.head.repo.full_name;
var issue_number = github.context.payload.pull_request.number;
var owner = github.context.payload.pull_request.base.repo.owner.login;
var repo = github.context.payload.pull_request.base.repo.name;
var PR_HEAD_REF = context.payload.pull_request.head.ref;
var PR_HEAD_USERREPO = context.payload.pull_request.head.repo.full_name;
var issue_number = context.payload.pull_request.number;
var owner = context.payload.pull_request.base.repo.owner.login;
var repo = context.payload.pull_request.base.repo.name;
github.rest.issues.createComment({
issue_number: issue_number,
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# CHANGELOG

## 0.1.39dev
test binder 1

## 0.1.38 (2023-03-30)

Expand Down

0 comments on commit 7101b72

Please sign in to comment.