From a9354b58c9d0a8f6ac8ffd4194f670cb351aef31 Mon Sep 17 00:00:00 2001 From: Matteo Voges <98756476+MatteoVoges@users.noreply.github.com> Date: Wed, 12 Apr 2023 19:57:14 +0200 Subject: [PATCH] chore(gh-actions): Add housekeeping action to close stale issues body --- .github/workflows/housekeeping.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/housekeeping.yml diff --git a/.github/workflows/housekeeping.yml b/.github/workflows/housekeeping.yml new file mode 100644 index 000000000..ae3b9eb73 --- /dev/null +++ b/.github/workflows/housekeeping.yml @@ -0,0 +1,17 @@ +name: 'Housekeeping' +on: + schedule: + - cron: '0 0 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.' + close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity. Please reopen the issue, if this happened accidently.' + days-before-issue-stale: 90 + day-before-pr-stale: -1 + days-before-close: 7 + days-before-pr-close: -1 \ No newline at end of file