Skip to content

Commit 93b2230

Browse files
committed
V3
1 parent c3d1924 commit 93b2230

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
33
The format is based on [Keep a Changelog](http://keepachangelog.com/)
44
and this project adheres to [Semantic Versioning](http://semver.org/).
55

6-
## 3.0.0 - Unreleased
6+
## 3.0.0 - 17.12.2021
77

88
### Changed
99
- [breaking-changes] Architecture of assigning reviewers, preventing propgation

dist/index.js

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reviewers",
3-
"version": "2.1.1",
3+
"version": "3.0.0",
44
"description": "GitHub Action to recognize and assign reviewers and codeowners",
55
"main": "src/index.js",
66
"scripts": {

src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ const PATH_PREFIX = process.env.GITHUB_WORKSPACE;
172172

173173
const reviewersToAdd = codeowners.filter((reviewer) => !requestedReviewers.includes(reviewer));
174174

175-
176175
if (reviewersToAdd.length > 0) {
177176
await octokit.rest.pulls.requestReviewers({
178177
...repo,
@@ -213,7 +212,6 @@ const PATH_PREFIX = process.env.GITHUB_WORKSPACE;
213212
core.warning('No sufficient approvals can\'t approve the pull-request');
214213
core.info(utils.createRequiredApprovalsComment(ownersMap, filesWhichStillNeedApproval, PATH_PREFIX));
215214

216-
217215
if (approvedByTheCurrentUser) {
218216
// Dismiss
219217
await octokit.rest.pulls.dismissReview({

0 commit comments

Comments
 (0)