Bug in the repo path for the binder #79
Labels
bug
Issues that present a reasonable conviction there is a reproducible bug.
infrastructure
Infrastructure related issue
This line in the build-book.yaml workflow assumes that a PR originates from
and send this as input to binderbot when we need to point to the current PR branch to build a new image on the binder (because of a change in the environment file).
But this logic assumes that the PR branch is always in
${{ github.actor }}
's personal GitHub space. If someone who is a member of theProjectPythia
org opens a PR from a branch owned by the organization, it fails.The reason it fails is because
${{ github.actor }}
points to that person's user name, but the repo name is actuallyProjectPythia/$CI_REPOSITORY_NAME
.An example is ProjectPythia/na-cordex-viz-cookbook#7.
Note that when you edit a file directly on GitHub it defaults to creating a new branch within the org, which is what happened in the above example.
The text was updated successfully, but these errors were encountered: