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
In #974 CI action, It tries to pull my branch in the main repo instead of the forked repo. See the logs.
I think the line in the GitHub action below only works when someone from the organization creates a pull request but not from someone outside the organization who has to fork the repo to create a PR.
exequiel09
changed the title
CI GitHub actions not pulling the branch from a fork to test the PR coming from a fork
CI GitHub actions not pulling the branch from a fork to test and build the PR coming from a fork
Oct 10, 2021
Description
In #974 CI action, It tries to pull my branch in the main repo instead of the forked repo. See the logs.
I think the line in the GitHub action below only works when someone from the organization creates a pull request but not from someone outside the organization who has to fork the repo to create a PR.
rx-angular/.github/workflows/build-and-test.yml
Line 65 in 8df99ea
Steps to Reproduce the Issue
Fork the repo. Create a PR and let the maintainer run the CI for first time contributors to this repo like me 😅.
Notes
I think we need to use
github.ref
or$GITHUB_REF
to get the ref to the PR from forks. Other instances of happening this is in #678 (logs)The text was updated successfully, but these errors were encountered: