GithubHelp home page GithubHelp logo

Comments (6)

anomiex avatar anomiex commented on September 27, 2024 1

I don't think it would be worth adding logic for an actual "fallback" (i.e. "X, or Y only if X is the author") versus just configuring the action with "any-of: X, Y". That would also handle situations like when X is on vacation.

The fix looks ok to me, although I might instead do the check against author at

while processing the array instead of pre-filtering the array.

If you'd make a PR against the file linked above in this repo, we can get it reviewed and merged.

from jetpack.

evan-gray avatar evan-gray commented on September 27, 2024

Successfully tested a fix.

from jetpack.

jeherve avatar jeherve commented on September 27, 2024

In your fix, you're skipping the required review when the required reviewer is the PR author. On one hand that makes sense. On the other, I wonder if it wouldn't be best to avoid those scenarios altogether by having a fallback reviewer (team or person)?

from jetpack.

evan-gray avatar evan-gray commented on September 27, 2024

@anomiex I had considered that but then the message Requested review(s) from... would include the name of the skipped author. Also concur that fallback does not feel necessary as there, ideally, should be redundancy in a reviewer list. Though it is interesting that CODEOWNERS just allows any reviewers if the sole owner is also the PR author 🤷

Will open a PR, just wasn't sure if other changes were necessary given the mirror repo setup.

from jetpack.

anomiex avatar anomiex commented on September 27, 2024

I had considered that but then the message Requested review(s) from... would include the name of the skipped author.

Good point, I missed that.

from jetpack.

evan-gray avatar evan-gray commented on September 27, 2024

Awesome, thanks for the assist @anomiex 🤝

from jetpack.

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.