Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binder badge: use repo.full_name #208

Merged
merged 1 commit into from
Aug 15, 2020

Conversation

manics
Copy link
Member

@manics manics commented Aug 15, 2020

GitHub Actor is the user that opened the PR, but this may not be the same as the owner of the fork. For example if you open a PR using an org branch, or if you open a PR using someone else's fork.

pull_request.head.repo.full_name should be the owner/reponame of the PR fork.

E.g. Compare the first (old workflow) and last (updated workflow) comments on manicstreetpreacher/test-binder-badge#1

GitHub Actor is the user that opened the PR, but this may not be the same as the owner of the fork.

`pull_request.head.repo.full_name` should be the `owner/reponame` of the PR fork
@choldgraf
Copy link
Member

@hamelsmu does this look correct to you?

@hamelsmu
Copy link

Yeah this looks good to me

@choldgraf choldgraf changed the title [MRG] Binder badge: use repo.full_name Binder badge: use repo.full_name Aug 15, 2020
@choldgraf choldgraf merged commit 1a3d7a5 into jupyterhub:master Aug 15, 2020
@manics manics deleted the binder-badge-fullname branch August 15, 2020 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants