Skip to main content

Pull request to draft instead of stale input

Input

Name: pull-request-to-draft-instead-of-stale
Type: boolean
Default value: false

Description

This input will let you change how the processing handle the pull requests that should be normally stale to instead convert them to drafts.
This can be useful when you are sure that all your pull requests are useful and must be at some point merged.

info

When converting to draft, the inputs stale comment, add labels after stale and remove labels after stale will not be performed.

Example

# ...
name: Stale
id: stale
uses: sonia-corporation/stale@latest
with:
pull-request-to-draft-instead-of-stale: true