Releases: actions/stale
Releases · actions/stale
v9.0.0
Breaking Changes
- Action is now stateful: If the action ends because of operations-per-run then the next run will start from the first unprocessed issue skipping the issues processed during the previous run(s). The state is reset when all the issues are processed. This should be considered for scheduling workflow runs.
- Version 9 of this action updated the runtime to Node.js 20. All scripts are now run with Node.js 20 instead of Node.js 16 and are affected by any breaking changes between Node.js 16 and 20.
What Else Changed
- Performance optimization that removes unnecessary API calls by @dsame #1033 fixes #792
- Logs displaying current github API rate limit by @dsame #1032 addresses #1029
For more information, please read the action documentation and its section about statefulness
New Contributors
- @jmeridth made their first contribution in #984
- @nikolai-laevskii made their first contribution in #1020
- @dusan-trickovic made their first contribution in #1056
- @aparnajyothi-y made their first contribution in #1110
Full Changelog: v8...v9.0.0
v4.1.1
In scope of this release we updated actions/core to 1.10.0 for v4 and fixed issues operation count.
Update @actions/core for v5
In scope of this release we updated actions/core to 1.10.0 for v5: #958
v8.0.0
What's Changed
- New option labels-to-remove-when-stale enables users to specify list of comma delimited labels that will be removed when the issue or PR becomes stale by @panticmilos #770
- Skip deleting the branch in the upstream of a forked repo by @dsame #913
- abort the build on the error by @dsame in #935
Breaking Changes
- In this release we prevent scenarios when the build is not interrupted on some exceptions, which led to successful builds when they are supposed to fail
Example
name: 'Remove labels when the issue or PR becomes stale'
on:
schedule:
- cron: '30 1 * * *'
permissions:
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
labels-to-remove-when-stale: 'label1,label2'
v7.0.0
What's Changed
- Allow daysBeforeStale options to be float by @irega in #841
- Use cache in check-dist.yml by @jongwooo in #876
- fix print outputs step in existing workflows by @irega in #859
- Update issue and PR templates, add/delete workflow files by @IvanZosimov in #880
- Update how stale handles exempt items by @johnsudol in #874
Breaking Changes
- In this release we prevent this action from managing the
stale
label on items included inexempt-issue-labels
andexempt-pr-labels
- We decided that this is outside of the scope of this action, and to be left up to the maintainer
New Contributors
- @irega made their first contribution in #841
- @jongwooo made their first contribution in #876
- @IvanZosimov made their first contribution in #880
- @johnsudol made their first contribution in #874
Full Changelog: v6...v7.0.0
v6.0.1
Update @actions/core to 1.10.0 #839
Full Changelog: v6.0.0...v6.0.1
v6.0.0
Issues/PRs default close-issue-reason
is now not_planned
(#789)
V5.2.0
Fix issue when days-before-close is more than days-before-stale
v5.1.0
[5.1.0]
Don't process stale issues right after they're marked stale
Add close-issue-reason option #764#772
Various dependabot/dependency updates