spacedentist / spr

Submit pull requests for individual, amendable, rebaseable commits to GitHub
https://getcord.github.io/spr/
MIT License
377 stars 33 forks source link

Don't fail on requesting reviewers #115

Closed joneshf closed 1 year ago

joneshf commented 1 year ago

It's not always possible to request reviewers, so we don't always fail.

Unless you have write access to a repo, you cannot request reviewers for a PR. Since there are workflows where not everyone has write access, and we don't want to fail unnecessarily, we don't make it a requirement that requesting reviewers has to succeed.

Test Plan:

  1. First, ensure you don't have write access to a repo.
  2. Create a commit.
  3. Run spr diff
  4. [ ] The PR should be opened and the command should only warn when it cannot request reviewers.
joneshf commented 1 year ago

Sorry, opened too soon. Lemme try again.