Skip to content

Releases: actions/stale

v9.0.0

07 Dec 12:30
28ca103
Compare
Choose a tag to compare

Breaking Changes

  1. 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.
  2. 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

  1. Performance optimization that removes unnecessary API calls by @dsame #1033 fixes #792
  2. 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

Full Changelog: v8...v9.0.0

v4.1.1

30 Mar 15:44
a20b814
Compare
Choose a tag to compare

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

27 Mar 12:01
f7176fd
Compare
Choose a tag to compare

In scope of this release we updated actions/core to 1.10.0 for v5: #958

v8.0.0

22 Mar 12:44
1160a22
Compare
Choose a tag to compare

⚠️ This version contains breaking changes ⚠️

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

20 Dec 21:31
6f05e42
Compare
Choose a tag to compare

⚠️ This version contains breaking changes ⚠️

What's Changed

Breaking Changes

  • In this release we prevent this action from managing the stale label on items included in exempt-issue-labels and exempt-pr-labels
  • We decided that this is outside of the scope of this action, and to be left up to the maintainer

New Contributors

Full Changelog: v6...v7.0.0

v6.0.1

07 Oct 10:26
Compare
Choose a tag to compare

Update @actions/core to 1.10.0 #839

Full Changelog: v6.0.0...v6.0.1

v6.0.0

21 Sep 18:57
3de2653
Compare
Choose a tag to compare

⚠️ Breaking change ⚠️

Issues/PRs default close-issue-reason is now not_planned(#789)

V5.2.0

14 Sep 14:36
99b6c70
Compare
Choose a tag to compare

Features:
New option include-only-assigned enables users to process only issues/PRs that are already assigned. If there is no assignees and this option is set, issue will not be processed per: issue/596

Fixes:
Fix date comparison edge case PR/816

Dependency Updates:
PR/812

Fix issue when days-before-close is more than days-before-stale

27 Jul 20:20
Compare
Choose a tag to compare

v5.1.0

15 Jul 13:11
Compare
Choose a tag to compare

[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