⚠️ 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'