-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create a status check #33
Milestone
Comments
Bullrich
added a commit
that referenced
this issue
Aug 1, 2023
Resolves #6 ## Changes - Fixed validation of rules not setting default values. - Fixed basic rule amount of review to be a positive integer (min value 1) - Added a test to verify this - Implemented GitHub Action to run on Pull Requests. - Added a log which reports what teams and users are missing. - Fixed a bug where the approvals wasn’t being properly filtered. - Fixed a bug where the system asked the author to review the PR - Fixed the wrong default name of the config file - Was set to `review.yml` instead of `review-bot.yml` - Changed rule type validation to have forced string values. - Added logs which inform when a rule is running and if it fails. - Rules are executed in order, so the logs will always correspond to the current rule. - Created tickets #32, #33 and #34 as foreseeable problems. - Created utility method to concatenate two arrays and removing duplicates. - @mutantcornholio I don’t know if `EngAutomation/js` has this (or if we want to add it to it) - Fixed a bug where the users who had approved the PR was not caching. - Fixed a glitch where the required reviews could be 0 or a negative number. - Fixed a glitch where the rule type could be invalid.
Merged
The status check Change of plan, merge #26 with this ticket and generate the summary in the status check |
Limitations discoveredWhen running from a GitHub action:
|
Bullrich
added a commit
that referenced
this issue
Aug 8, 2023
Added ability to generate a status check and the ability to overwrite the latest one. This resolves #33 and closes #26 as it merged it into one ticket. There are some limitations as we can not select the check suite that the check will belong (see #33 (comment)), but the name will be constant, making it validable.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a status check and replaced it with every new run, so that we don’t have several actions running.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks
If we have several actions running (by different events) one can fail while the other one passes:
In this case, the first action fails as the PR didn't have enough commits, but passed on the review event as the pr was reviewed
The text was updated successfully, but these errors were encountered: