-
Notifications
You must be signed in to change notification settings - Fork 11
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
Disabling member assigning completely #114
Comments
Hi! Hmm do you assign PRs to code reviewers (https://docs.github.com/en/issues/tracking-your-work-with-issues/assigning-issues-and-pull-requests-to-other-github-users)? I ask this because the action shouldn't assign reviewers (https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review) to Trello card. It should only assign PR author, all PR commits authors and PR assignees. |
Okay you've made the situation clearer, can I disable the assignment of the PR author? |
Yes, to confirm: you want noone to be assigned to the Trello card based on the PR info? |
Precisely. We handle assigning people to the Trello cards by ourselves so we don't any info from the PR |
Cool, I will try to make it happen today-tomorrow. If it is not a secret, can you share what logic do you use to assign people the Trello cards? Just curious :) |
Of course, nothing too sophisticated. We're currently only two programmers on the team so let's say I create a PR for a task, so the other guy will be my reviewer. After the PR was created and the card was moved to a Pending for review list, I get unassigned and he gets assigned. After he's done and he either requests for changes or approves the PR , he gets unassigned and I get reassigned. This goes on until the PR is approved and merged. |
Hmm yeah, this flow is familiar to me. Maybe you want me to implement this flow into the action (with some extra boolean conf)? |
That's what I had in mind: that you would have a flag that will control whether people get assigned to a card or not |
@Crembotz ciao! Please check out v9.6.0. It now includes two new flags: |
Thank you so much for addressing my issue! I'll try to run a small test and will let you know of my findings. |
I'll have to postpone the tests, I'll try it out as soon as I can and will let you know |
@ukupat Hi, so we've ran our tests and got some inconsistent results: when moving a card from the pending for review list to the pending for fixes list, the assigned member wouldn't get updated. |
Thank you! Weird results. I don't have any good ideas why is this happening. I will create a PR tomorrow with some extra logging so you could run both of the cases again and forward the logs to me. I hope that this is okay. |
Can you retest the first problem (when moving a card from the pending for review list to the pending for fixes list, the assigned member wouldn't get updated) with this version:
and share the logs with me (feel free to obfuscate data you don't feel like sharing). About the second issue (when the PR was created and the card was moved to the pending for review list, the author of the PR got unassigned and the reviewer got assigned and then for some reason got unassigned), can you confirm that you don't have any custom Trello Butler automation that removes/changes members when the card is moved? |
I'll have the first test's results by Tuesday. |
@ukupat Here are the logs, notice that for each action(i.e: moving from pending for review to pending for fixes) I've also specified the behavior that occurred in the file's name, hope this helps! |
Thanks! Can you confirm a few things:
|
|
You can also test the 2nd issue if the 1st issue is solved:
|
Thank you, should I still use this |
Yes, continue using |
So the problem persists: if a card is moved from pending for review to either pending for fixes or approved, it assigns back the PR author but doesn't remove the reviewer. |
Hmm can you share the logs again? |
Yes, the logs helped! I found my silly bug 🐛 Give it another go 🤞 |
You fixed it! It works exactly as intended and will make our workflow so much easier to manage! |
Great! I have made the release, please use |
Hello!
I've noticed that the automation assigns the person that reviewed the PR to the Trello card and I was wondering if it would be possible to completely disable this, we have our own way of handing assigning people to tasks and we don't Github to interfere.
Thank you!
The text was updated successfully, but these errors were encountered: