Skip to content

Close stale issues #673

Close stale issues

Close stale issues #673

name: 'Close stale issues'
on:
schedule:
- cron: '0 8 * * *'
jobs:
stale:
if: github.repository == 'glpi-project/glpi-inventory-plugin'
permissions:
issues: write # for actions/stale to close stale issues
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: >-
There has been no activity on this issue for some time and therefore it is considered stale
and will be closed automatically in 7 days.
If this issue is related to a bug, please try to reproduce on latest release. If the problem persist,
feel free to add a comment to revive this issue.
You may also consider taking a [subscription](https://glpi-project.org/subscriptions/) to get professionnal
support or [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly.
days-before-issue-stale: 60
days-before-pr-stale: -1 # PR will be marked as stale manually.
days-before-close: 7
exempt-issue-labels: "bug,enhancement" # Issues with "bug" or "enhancement" labels will not be marked as stale
exempt-all-milestones: true # Do not check issues/PR with defined milestone.
ascending: true # First check older issues/PR.
operations-per-run: 750 # Max API calls per run.