Comments (2)
This is an interesting problem... I am doing some research into how this may be handled.
Only thing I can think of is if the merge fails for a Status: 409 Conflict
maybe start the process over (need to refresh pull data including sha
). I could also add a random "sleep" for the retries so any trying to run in parallel could be offset.
Haven't looked into this too much, but do you think that approach could solve your problem?
from merge-bot.
Yeah, I think those approaches (especially in concert) could solve my problem!
Before I made this issue I was actually trying to figure out if I could do something similar with Github Actions, but sadly I think Actions don't yet support "retry step on failure" flow control. I guess maybe that wouldn't have worked anyway since to your point the pull data would have to be refreshed as part of the retry.
Thank you for the consideration!
from merge-bot.
Related Issues (20)
- Update from base branch before merging. HOT 9
- follow the configured required review count HOT 2
- Don't merge until checks complete HOT 5
- Re-trigger Action when checks complete HOT 1
- Unable to perform integration check HOT 13
- ##[warning]Unexpected input 'GITHUB_TOKEN' HOT 1
- GITHUB_TOKEN is unknown as a parameter HOT 1
- README is out of date. HOT 1
- Not detecting reviews? HOT 3
- Pullrequests from forks result in No commit found HOT 3
- Is there a way to merge without labeling? HOT 6
- merge-bot failing with error on pull request HOT 8
- `No commit found for SHA: fix_3353` from `ref` as `heads/branch_name` vs `sha`
- Time based allow/block of merges HOT 1
- Bug: don't make all properties required when configuring HOT 1
- Remove `node_modules` HOT 2
- Feature: on commit, remove label(?) or Re-request review(?) HOT 1
- Error: Cannot read properties of undefined (reading 'labels')
- Remove "review_requested" from trigger example HOT 1
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 merge-bot.