You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
StewardArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release
Unclear Whether /steward is a command readers can run in this release is not settled.
What
When /steward cannot look up a pull request, it used to report only a general failure. It now also notes the likely cause, based on the error text from gh, GitHub's command-line tool:
No GitHub remote: the checkout has no link to a repository on GitHub.
No such pull request: the pull request it looked for does not exist.
The gh commands it runs are now given their own set of environment variables. When the repository is hosted with plain git rather than a service such as GitHub, listing a pull request's checks or comments returns nothing instead of trying.
Why
This lets /steward work in checkouts with no GitHub remote and on hosts other than GitHub, and give a more useful message when a pull request cannot be found.