Skip to main content

Days before issue close input

Input

Name: issue-days-before-close
Type: number
Default value: 30

Description

This input will let you define the number of days before processing the issues to close.

The number of days is calculated based on the stale date (the stale label creation date) from today.

For example:

Assuming that an issue is stale since 9 days and this input is configured to close after 10 days.
The issue will be closed tomorrow if no update occur until then.

info

You can also specify the reason for closing this issue by using the close reason input, 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:
issue-days-before-close: 10