Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRs in the CHANGES_REQUESTED state need to be treated as "not approved" #55

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

GrantBirki
Copy link
Member

pull requests in the CHANGES_REQUESTED state are not approved and should be treated the same as REVIEW_REQUIRED

…hould be treated the same as `REVIEW_REQUIRED`
@GrantBirki GrantBirki self-assigned this Dec 12, 2024
@Copilot Copilot bot review requested due to automatic review settings December 12, 2024 07:10

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no suggestions.

Comments skipped due to low confidence (1)

src/functions/prechecks.js:291

  • Ensure that there are unit tests covering the new condition where reviewDecision can be 'CHANGES_REQUESTED' and commitStatus is null.
commitStatus === null

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

@GrantBirki GrantBirki merged commit 8aa56c8 into main Dec 12, 2024
4 checks passed
@GrantBirki GrantBirki deleted the changes-requested branch December 12, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant