You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -738,7 +738,7 @@ curl: (22) The requested URL returned error: 422
738
738
739
739
It can be useful to simulate how Policy Bot would evaluate a pull request if certain conditions were changed. For example: adding a review from a specific user or group, or adjusting the base branch.
740
740
741
-
An API endpoint exists at `api/simulate/:org/:repo/:prNumber` to simiulate the result of a pull request. Simulations using this endpoint will NOT write the result back to the pull request status check and will instead return the result.
741
+
An API endpoint exists at `api/simulate/:org/:repo/:prNumber` to simulate the result of a pull request. Simulations using this endpoint will NOT write the result back to the pull request status check and will instead return the result.
742
742
743
743
This API requires a GitHub token be passed as a bearer token. The token must have the ability to read the pull request the simulation is being run against.
744
744
@@ -831,7 +831,7 @@ use a previous, non-dismissed review, if it exists, when evaluating rules.
831
831
832
832
For example, if a user leaves an "approval" review and follows up with a
833
833
"request changes"review, `policy-bot` will use the "request changes" review
834
-
when evaluating rules. However, if the user then dimisses their "request
834
+
when evaluating rules. However, if the user then dismisses their "request
835
835
changes" review, `policy-bot` will instead use the initial "approval" review in
836
836
evaluating any rules.
837
837
@@ -926,7 +926,7 @@ from the set.
926
926
927
927
#### Invalidating Approval on Push <!-- omit in toc -->
928
928
929
-
By default, `policy-bot` does not invalidate exisitng approvals when users add
929
+
By default, `policy-bot` does not invalidate existing approvals when users add
930
930
new commits to a pull request. You can control this behavior for each rule in a
931
931
policy using the `invalidate_on_push` option.
932
932
@@ -955,7 +955,7 @@ in mid-2023 because computing it was unreliable and inaccurate (see issue
955
955
#### Expanding Required Reviewers <!-- omit in toc -->
956
956
957
957
The details view for a pull request shows the users, organizations, teams, and
958
-
permission levels that are reqired to approve each rule. When the
958
+
permission levels that are required to approve each rule. When the
959
959
`options.expand_required_reviewers`server option is set, `policy-bot` expands
960
960
these to show the list of users whose approval will satisfy each rule. This can
961
961
make it easier for developers to figure out who they should ask for approval.
0 commit comments