From c006e79edaa141de8f7af8e051798d0e50ed7b5c Mon Sep 17 00:00:00 2001 From: Wojciech Kulik <3128467+wojciech-kulik@users.noreply.github.com> Date: Wed, 25 Sep 2024 19:50:02 +0200 Subject: [PATCH] ci: improved auto-close workflow (#187) --- .github/workflows/autoclose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autoclose.yml b/.github/workflows/autoclose.yml index c08dc20..660309a 100644 --- a/.github/workflows/autoclose.yml +++ b/.github/workflows/autoclose.yml @@ -2,7 +2,7 @@ name: Close inactive issues on: schedule: - - cron: "30 1 * * *" + - cron: "0 22 * * *" jobs: close-issues: @@ -13,8 +13,9 @@ jobs: steps: - uses: actions/stale@v5 with: - days-before-issue-stale: 30 + days-before-issue-stale: 21 days-before-issue-close: 14 + only-labels: "needs response" stale-issue-label: "stale" stale-issue-message: "This issue is stale because it has been open for 30 days with no activity." close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."