Compare commits

1 Commits

Author SHA1 Message Date
1d99f664ee initial commit
Some checks failed
Update major and minor tags post release / update-major-and-minor-tags (push) Failing after 17s
2025-04-01 15:36:38 -05:00
5 changed files with 7075 additions and 3 deletions

3
README.MD Normal file
View File

@@ -0,0 +1,3 @@
# configurable-required-approvals
This is a fork of [weetbix/configurable-required-approvals](https://github.com/weetbix/configurable-required-approvals) that does't bother showing a green checkmark when a review is required.

2
dist/index.js generated vendored
View File

@@ -85,7 +85,7 @@ function checkRequiredApprovals(config) {
}
}
}
const noReviewsYet = github_1.context.eventName === 'pull_request' && reviews.length === 0;
const noReviewsYet = github_1.context.eventName === 'pull_request' && reviews.length === 0 && false;
const checkTitle = noReviewsYet
? 'No reviews yet'
: `${approvals}/${maxApprovalsRequired} approvals`;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

7069
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -76,7 +76,7 @@ export async function checkRequiredApprovals(config: Config): Promise<void> {
}
const noReviewsYet =
context.eventName === 'pull_request' && reviews.length === 0
context.eventName === 'pull_request' && reviews.length === 0 && false
const checkTitle = noReviewsYet
? 'No reviews yet'