From 0af42acc44a2b0233fcd690bf197092a0c2c38eb Mon Sep 17 00:00:00 2001 From: Rom1-B Date: Thu, 26 Feb 2026 09:48:18 +0100 Subject: [PATCH] Close stale issue --- .github/workflows/close_stale_issue.yml | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/close_stale_issue.yml diff --git a/.github/workflows/close_stale_issue.yml b/.github/workflows/close_stale_issue.yml new file mode 100644 index 000000000..ad3451bf1 --- /dev/null +++ b/.github/workflows/close_stale_issue.yml @@ -0,0 +1,35 @@ +name: 'Close stale issues' +on: + schedule: + - cron: '0 8 * * *' + +jobs: + stale: + if: github.repository == 'pluginsGLPI/formcreator' + permissions: + issues: write # for actions/stale to close stale issues + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v10 + 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 10 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. + + If it is related to a new feature, please open a topic to discuss with community about this enhancement + on [suggestion website](https://glpi.userecho.com/). + + + 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: 15 + days-before-pr-stale: -1 # PR will be marked as stale manually. + days-before-close: 5 + exempt-issue-labels: "bug,enhancement,question,security" # Issues with "bug", "enhancement", "question" or "security" 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.