Comments (4)
a temporary fix is to go onto GitHub and change the base branch manually to be main. Only do this after you landed the dependent PR's. Then spr land works.
from spr.
@sven-of-cord I just got a very similar error while trying to spr land
:
❯ spr land
dc3afed Minor bugfixes for Doc and Engine.instantiate_doc
#️⃣ Pull Request #18
🛫 Getting started...
🛑 GitHub: Validation Failed
Documentation URL: https://docs.github.com/rest/pulls/pulls#update-a-pull-request
Errors:
- {"code":"invalid","field":"base","message":"Proposed base branch 'refs/heads/main' is invalid","resource":"PullRequest"}
from spr.
I just got this for spr land
not clear why it says invalid base :-/ any workaround?
❯ spr land
05b36a4 [SI-97] Integrate new scheduler in chat
#️⃣ Pull Request #5489
🛫 Getting started...
🛑 GitHub: Validation Failed
Documentation URL: https://docs.github.com/rest/pulls/pulls#update-a-pull-request
Errors:
- {"code":"invalid","field":"base","message":"Proposed base branch 'refs/heads/main' is invalid","resource":"PullRequest"}
from spr.
building from source completely removes this problem. So removing the latest version from homebrew(1.3.4) and building from scratch (1.3.5-beta.1) is the way to go.
from spr.
Related Issues (20)
- Gitlab support?
- [question]: How does the landing work?
- Tips on how to run github workflow checks for stacked diffs? HOT 1
- Can no longer land complaining about no approving review even though reviewers approved it HOT 2
- [bug?] spr diff not updating (draft?) PR HOT 1
- Error with `spr init`: Could not open a Git repository in "xxx". Please run 'spr' from within a Git repository. HOT 1
- Bug: landing a PR after being accepted then re-ordered does not work
- Multiple stacks of work? HOT 1
- [question] Any way to support squash merging PR in GitHub UI and then update locally?
- [feature request] Show stack in PR
- spr list (and land) PR statuses are always PENDING HOT 1
- Formula Name Conflict Between Two Projects
- Maintenance status HOT 1
- spr diff uses jujutsu to amend? HOT 4
- Changing Base Branche Dismisses the Reviewers' Approval
- `an unknown git error occurred; code=NotFound (-3)` HOT 1
- Please update the ring crate to 17.x
- Support specification of branch name in `spr diff` HOT 1
- Remove "Reviewers:" for `spr land` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spr.