Product

Mayz reviews your pull requests on GitHub

Switch on pull request reviews for a GitHub repository, and Mayz reviews each new or updated pull request. It posts one summary comment with a verdict, notes on the lines that need fixing, and a check that never blocks a merge. Fix in Ysra turns a finding into a Code thread for the author.

The Ysra team4 min read

The Ysra cover for Mayz pull request reviews, with the title "A review on every pull request"

Mayz is Ysra’s reviewer. Switch it on for a GitHub repository, and every new or updated pull request there gets a review on GitHub: one summary comment, notes on the lines that need fixing, and a check that never blocks a merge.

It reviews pull requests from anyone on your team, and the ones Ysra Code opens.

Switch it on per repository

Connect GitHub in Settings → Connectors, then open GitHub’s page. Under Pull request reviews, tick each repository you want reviewed. For each one you can also tick Review drafts and set a Monthly cap in credits; the line beside it shows what reviews used this month. Reviews are paid from the workspace’s credits.

Settings → Connectors in Ysra, where GitHub’s page lists your repositories under Pull request reviews, with Review drafts and a monthly cap for each

What happens when a pull request opens

A review starts when a pull request opens, gets a new push, is reopened, or is marked ready for review. Mayz reads the diff and the changed files. If your repository has a REVIEW.md or an AGENTS.md, it reads that too, so your team’s own rules count.

It then posts on GitHub, under the name Ysra review:

  • A summary comment with a verdict (Looks good, Needs work or Unsafe), a few plain sentences on why, and the findings in a list. Each finding has a number, a severity (Blocker, Major or Minor), the file and line, and a Fix in Ysra link.
  • A note on each line that needs fixing, saying what is wrong and the fix.
  • A check called Ysra review, which passes or stays neutral. It is never a failure, so it never blocks a merge.

On the next push the summary is updated. Lockfiles, generated files and binary files aren’t reviewed, and the summary lists them under Not reviewed.

Diagram: a pull request opens on GitHub, Mayz reads the change and your review rules, posts a summary, line notes and the Ysra review check, and you fix a finding in Ysra or merge

Fix in Ysra

Fix in Ysra opens Code on that finding in the pull request author’s own Ysra account, with GitHub connected there. Nothing starts until they send it, and the push waits for their approval. A pull request from a fork is reviewed read-only, and fixes are made in the fork.

When a review is skipped

Ysra Code opens pull requests as drafts, so with Review drafts off, Mayz reviews them once they’re marked ready. A review is also skipped when the workspace is out of credits, when the repository has reached its monthly cap, or when the change is too large for one review. Each of those gets a short Review skipped comment that says why. Merging is never blocked either way.

Diagram: a pull request is checked for being ready, for credits left, for the monthly cap and for size, and is either skipped with a reason or reviewed with a verdict

What it can’t do

A pull request is someone else’s text, so Mayz treats it as data. The review has no tools and no secrets, and the only things it can do on GitHub are comment and set a check that passes or stays neutral. It doesn’t approve, merge or push.

A review is a careful second look. It isn’t a legal opinion, a certification, or a replacement for a person’s review or a security audit. Keep your own reviewers on the pull requests that matter.

Review a whole project

Mayz also reviews a whole project. Choose Mayz at the top of the box on Home, pick the repository or cloud project, and choose what to Look at: Everything, Security, Privacy, Code quality or Design. It works in its own copy and changes nothing. The report gives a verdict and each finding with its evidence. Fix these or Choose what to fix… starts a Code task, and Review again shows which findings are Fixed and which are Still there. Save it as a detailed report or a summary for managers, as PDF or Word.

Who gets it

The workspace owner switches repositories on and sets the caps, and reviews use the workspace’s credits; the summary comment shows what each one used. Reviews of a whole repository or cloud project run in Ysra’s cloud, which comes with a paid plan.

Read Mayz reviews in the docs, or start at app.ysra.ai.

  • Product
  • Mayz
  • Code review
  • GitHub
  • Pull requests

All posts