-
Notifications
You must be signed in to change notification settings - Fork 8
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: pull requests are automatically merged based on their activity #1
feat: pull requests are automatically merged based on their activity #1
Conversation
@rndquu I changed the token to be the one from the repo itself as @whilefoo seemed to suggest in this comment if I understood properly, please let me know if that fixed your issue. |
The error is gone but the PR is not merged. Check this config and this CI run which prints this log output:
Why |
Even though that may seem like an error it isn't, the code should be modified to not look like it failed. |
The comment means there will be no action taken because this event does not trigger any logic inside the plugin. I can change the message, not sure what could make it clearer? Also the PR didn't close for 2 reasons: one is that I think you opened it before the plugin was properly working on the repo so it is actually not tracked. Two is that there is no reviewer that approved so would be skipped. My latest test run: Meniole#6 |
It looks like the plugin didn't even run but in fact it did run |
@whilefoo Correct, that is the intended behavior. I can try to make a clearer message if that is necessary. |
@gentlementlegen Check this config, this PR and this CI run. On any comment I'm expecting this PR to be merged but this CI run didn't merge it. What am I doing wrong? |
@rndquu I think the problem is that it only runs on |
Could you provide a valid config for QA? |
@rndquu My config is like this: - uses:
- plugin: Meniole/automated-merging
with:
approvalsRequired:
collaborator: 1
mergeTimeout:
collaborator: "2 minutes" I am using the version of the Kernel that retrieves the data from the manifest.json. |
How should the whole config look like with |
@rndquu It can just be like plugins:
- uses:
- plugin: Meniole/automated-merging
with:
approvalsRequired:
collaborator: 1
mergeTimeout:
collaborator: "2 minutes" and the {
"name": "Automated merging",
"description": "Automatically merge pull-requests.",
"ubiquity:listeners": [ "push", "pull_request.opened", "pull_request.reopened" ]
} |
How |
@rndquu my mistake, got confused while writing it, fixed my comment, meant to say |
As long as you tested it works I think just merge and we can test it out in production. |
Co-authored-by: アレクサンダー.eth <4975670+0x4007@users.noreply.github.com>
@rndquu I'll merge this because it is needed for the v2, but feel free to test and let me know if there is anything wrong, I'll fix within the following pull-request. |
8da60bb
into
ubiquity-os-marketplace:development
Resolves ubiquity-os/plugins-wishlist#20