feat: add timeWindow validator - #785
Open
kilbasar wants to merge 1 commit into
Open
Mergeable / Mergeable
failed
Jul 29, 2025 in 1s
1/4 Fail(s): APPROVALS
Status: FAIL
Here are some stats of the run:
4 validations were ran.
3 PASSED
1 FAILED
Details
✔️ Validator: TITLE
- ✔️ title must include '^(feat|docs|chore|fix|refactor|test|style|perf)((\w+))?:.+$'
Input : feat: add timeWindow validator
Settings :{"must_include":{"regex":"^(feat|docs|chore|fix|refactor|test|style|perf)(\\(\\w+\\))?:.+$","message":"Semantic release conventions must be followed."}}
✔️ Validator: DESCRIPTION
- ✔️ description must exclude '[ ]'
Input : This validator blocks PRs from merge during specified "freeze" periods, for example on weekends.
Per #784
Settings : {"must_exclude":{"regex":"\\[ \\]","message":"There are incomplete TODO task(s) unchecked."}}
❌ Validator: APPROVALS
- ✔️ approvals does have a minimum of '1'
Input : abid-mujtaba
Settings :{"min":{"count":1}} - ❌ (approvals: jusx required OR approvals: shine2lay required)
Input : abid-mujtaba
Settings :{"or":[{"required":{"reviewers":["jusx"]}},{"required":{"reviewers":["shine2lay"]}}]}
✔️ Validator: OR
- ✔️ Option 1: And: Option 1: title: title must include '^(feat|fix)((\w+))?:.+$'
Input : feat: add timeWindow validator
Settings :{"must_include":{"regex":"^(feat|fix)(\\(\\w+\\))?:.+$"}} - ✔️ Option 1: And: Option 2: changeset: changeset must include 'docs/changelog.rst'
Input : tests/unit/validators/timeWindow.test.js,docs/changelog.rst,docs/configuration.rst,docs/recipes.rst,docs/validators/timeWindow.rst,lib/validators/timeWindow.js
Settings :{"must_include":{"regex":"docs/changelog.rst","message":"new features or fixes needed to be logged to the changelog"}} - ❌ Option 2: title: new features or fixes needed to be logged to the changelog
Input : feat: add timeWindow validator
Settings :{"must_exclude":{"regex":"^(feat|fix)(\\(\\w+\\))?:.+$","message":"new features or fixes needed to be logged to the changelog"}}
Loading