Giter Site home page Giter Site logo

"Review cannot be requested from pull request author." error thrown when a default reviewer opens a PR. about auto-request-review HOT 4 CLOSED

necojackarc avatar necojackarc commented on June 12, 2024
"Review cannot be requested from pull request author." error thrown when a default reviewer opens a PR.

from auto-request-review.

Comments (4)

necojackarc avatar necojackarc commented on June 12, 2024

@a-tokyo Thanks for reporting a bug!

Could you share your settings and the author name when you saw the error? I can't seem to reproduce the bug and actually, there is the logic to exclude the author from reviewers in the case you mentioned:

const default_reviewers = fetch_default_reviewers({ config, excludes: [ author ] });

The logic does just a simple comparison, so I wonder whether or not there might be a case-sensitivity issue.

from auto-request-review.

a-tokyo avatar a-tokyo commented on June 12, 2024

@necojackarc Thanks for the response!

I don't have the code atm as I replaced it with another library, but I know for a fact that my username sometimes has case sensitivity issues. It's actually A-tokyo. So it might be that.

The Logic I did was to assign a-tokyo and qa-team as default reviewers. a-tokyo is in the QA team as well.

Feel free to either try it out or close the issue = )

from auto-request-review.

necojackarc avatar necojackarc commented on June 12, 2024

@a-tokyo Thanks. Yeah, it sounds like an issue around case sensitivity. I believe it could work if you used exactly the same username in the settings πŸ‘

I'm happy to leave this issue open as this sounds like a common issue for those who use any capital letters in their usernames. I hope I can find some time and compare the names in a case-insensitive way.

from auto-request-review.

necojackarc avatar necojackarc commented on June 12, 2024

It turns out this isn't a bug, so I'm closing this issue in order not to confuse us but I've added a new issue #37 to make it more convenient.

from auto-request-review.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.