vincentkoc/No Out of Hours Merge

Block PR merges outside business hours, holidays and other specific time windows.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
GITHUB_TOKENGitHub tokenyes
PR_TITLETitle of the pull request (if you want check for hotfix)yes
TIMEZONETimezone to use for checking the current timenoEurope/London
RESTRICTED_TIMESA JSON object containing restricted times based on weekdays, or specific dates or holidaysno{ "weekly": [ { "days": ["mon", "tue", "wed", "thu", "fri"], "intervals": [[0, 7], [16.5, 24]] } ], "dates": [ { "date": "2023-12-25", "intervals": [[0, 24]] } ], "holidays": { "country": "GB", "state": "UK", "intervals": [[0, 24]] } }
CUSTOM_MESSAGECustom message to be posted as a comment on the PR if merging is not allowedno
CHECK_EXISTING_COMMENTBoolean flag to enable/disable checking for existing comment with the same messagenotrue

no outputs