Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Fix Circle merge on master branch.#20709
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There exists a PR on a random fork, which fills in `CI_PULL_REQUEST`,which we don't want to use as merge target when building `master`.Instead, check `CIRCLE_PR_NUMBER`, which is set only on forked PRs.Also, check branch name (which is current, not the _target_) to becertain.
We should wait for circle to finish and then merge. We won't see if this actually fixed the problem until it lands on master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
anyone can merge when CircleCI is green.
Wow, I've never seen that crop up before! Your solution sounds reasonable to me |
Let's try this. |
jklymak commentedJul 21, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
ooops; sorry@timhoffm your message came in as I hit the Merge button |
GitHub is not thread-safe. 🤣 |
It was successful, I believe:this PR merged whilemaster didn't. |
PR Summary
There exists a PR on a random fork, which fills in
CI_PULL_REQUEST
, which we don't want to use as merge target when buildingmaster
. Instead, checkCIRCLE_PR_NUMBER
, which is set only on forked PRs. Also, check branch name (which is current, not thetarget) to be certain.Followup to#20680,@larsoner
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).