Days before pull request close input
Input
Name: pull-request-days-before-close
Type: number
Default value: 30
Description
This input will let you define the number of days before processing the pull requests to close.
The number of days is calculated based on the stale date (the stale label creation date) from today.
For example:
Assuming that a pull request is stale since 9 days and this input is configured to close after 10 days.
The pull request will be closed tomorrow if no update occur until then.
info
You can also add labels onto it by using the add labels after close input, remove labels onto it by using the remove labels after close input and add a comment to explain why it was closed by using the close comment input.
Example
# ...
name: Stale
id: stale
uses: sonia-corporation/stale@latest
with:
pull-request-days-before-close: 10