Comments (5)
I just hit the same issue. It actually pushes the code to the existing branch correctly, so the original PR gets updated, but then you get this error about failing to try to open the PR again. I'll take a look.
from git-xargs.
Hey,
you are fast, too fast :)
The problem I ran into, was that on the first run, no PR was openend (because of the hard coded master-branch, but could also be missing permissions or something else) and on the second run, git-xargs stopped because the push did not changed the remote branch.
Updating the PR won't help in this case, because there is none.
I think you have to change the method pushLocalBranch
and filter for the "already up-to-date"-Error
from git-xargs.
Hello,
I tested 0.0.8 and still run in this issue.
This time the tool stopped earlier, because the script does not change the local repository. So there was nothing to commit.
My Expectation is, that the tool opens a PR as long as the given branch differs from the default-branch.
from git-xargs.
I think that's a similar, but separate issue: detecting if (a) there is an existing branch in the remote but (b) no existing PR for that branch. Could you file a separate issue for that?
from git-xargs.
done, see #39
from git-xargs.
Related Issues (20)
- Set current repo as Env var HOT 2
- Binaries not included in assets for latest release (v0.1.4) HOT 1
- Error "reference delta not found" when cloning repositories HOT 3
- Incorrect Usage. flag provided but not defined: -version
- Always generate the a summary of pull requests even if ones exist for the branch
- latest release missing binaries HOT 1
- Allow pushing branches to forks HOT 1
- use SSH for operations HOT 1
- The script succeeds but no changes on the actual repo. HOT 1
- Question: can specify a different directory to /tmp to clone? HOT 1
- Add the option for label(s)
- Receiving "No repos found for the organization supplied" despite there being many repos HOT 1
- Rate limiting for repository cloning? HOT 1
- Force PR creation if the commits are made by the script
- Ability to Choose Format Used for Logging via CLI Flag
- GITHUB_HOSTNAME is ignored HOT 1
- provide an environment variable with the temp directory name HOT 3
- Feature Request - Support Azure Repos
- Feature Request - option flag with "--filter=blob:none" to clone repo HOT 1
- Add Support for PR Assignees
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 git-xargs.