Migration from v1 to v2
Migration
Close reason 🍬
One new input was introduced:
It will allow you to define what is the reason when an issue is closed.
This new feature is possible following the May 19, 2022, update for the GitHub issues.
Before:
Every issue were closed with the default value in GitHub, which is COMPLETED
.
After:
Every issue will now be closed with NOT_PLANNED
as the default value.
To change the behavior back to the previous one, you can configure your action as follows:
# ...
name: Stale
id: stale
uses: sonia-corporation/stale@latest
with:
issue-close-reason: 'not planned'
info
We decided to actually change the default value, because it makes more sense for most users to consider a closed issue as not planned.
Like suggested by GitHub, they consider this value as a stale reason, which is actually why you are here. 😉