| after | The time to start blocking merge. You can set exception time for specific days. For example, the value could be "17:30, 16:30 on Monday" | no | 00:00 |
| before | The time to stop blocking merge. You can set exception time for specific days. For example, the value could be "09:00, 08:00 on Monday" | no | 00:00 |
| timezone | Time zone to use | yes | — |
| base-branches | The comma-separated base branches of pull requests. This tool will block only pull requests the base branches of which are listed in this parameter. You can set regular expressions surrounding with `/` like `/staging\/.*/` and just set string literals like `develop`. Also, the value `(default)` is acceptable, which means pull requests that will be merged into the default branch will be blocked. The default value is `/^.*$/` for backward compatibility. | no | /^.*$/ |
| prohibited-days-dates | The comma-separated days or dates to stop blocking merge for all day. You can also specify regional holidays with special syntax, such as "H:St. Barthélemy" and "BH:St. Barthélemy", which stand for "holidays of St. Barthélemy" and "before holidays of St. Barthélemy." The word after "H:" or "BH:" is a region name that is listed in `src/holidays.json` as a JSON key. For example, the value could be "Sunday, 2021-08-01, 2021-08-06/2021-08-10, H:Côte d’Ivoire" | no | "" |
| no-block-label | The label to indicate the pull request should not be blocked | no | no-block |
| commit-status-context | The commit status context | no | block-merge-based-on-time |
| commit-status-description-with-success | The commit status description shown with success | no | The PR could be merged |
| commit-status-description-while-blocking | The commit status description shown while blocking | no | The PR can't be merged based on time, which is due to your organization's policy |
| commit-status-url | The commit status URL to describe why this action is conducted | no | "" |
| custom-holidays-path | Path to a custom holidays JSON file. The JSON format should be
{"key": [{"date": "YYYY-MM-DD"}]}.
When specified, this will be used instead of the built-in holidays for H: and BH: prefixes in prohibited-days-dates.
| no | "" |
| token | The GitHub token used to create an authenticated client | no | ${{ github.token }} |