Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added script to dismiss reviews (polkadot-fellows#76)
Added a script that will require new reviews in a PR if the author (who is not a fellow) pushed a new commit. Resolves polkadot-fellows#60 Copied from paritytech/polkadot-sdk#4152 and paritytech/polkadot-sdk#3431 ## Summary Added a new step in the action that triggers review bot to stop approval from new pushes. This step works in the following way: - If the **author of the PR**, who **is not** a fellow, pushed a new commit then: - Review-Trigger requests new reviews from the reviewers and fails. It *does not dismiss reviews*. It simply request them again, but they will still be available. This way, if the author changed something in the code, they will still need to have this latest change approved to stop them from uploading malicious code. - [x] Does not require a CHANGELOG entry
- Loading branch information