-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Required Review Action: omit author from reviewer assignment (#37653)
This PR fixes a bug where the required-review action would attempt to add the PR author as a reviewer if a matching rule was hit, however this is no longer allowed by GitHub and would result in the error `Review cannot be requested from pull request author.`. To avoid this, if computed reviewers list includes the PR author, a message is logged and they are filtered out of the list. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9318374096 Upstream-Ref: Automattic/jetpack@62f0e20
- Loading branch information
Showing
4 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters