From fc1e327b748dafbf67e2713f24d4d139bfcd0912 Mon Sep 17 00:00:00 2001 From: Dan Ditomaso Date: Thu, 23 Oct 2025 15:52:36 -0400 Subject: [PATCH] Update inactive issue workflow schedule and settings (#905) * Update inactive issue workflow schedule and settings * Update .github/workflows/inactive-issue.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/inactive-issue.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/inactive-issue.yml b/.github/workflows/inactive-issue.yml index ba30ced5..7e23f421 100644 --- a/.github/workflows/inactive-issue.yml +++ b/.github/workflows/inactive-issue.yml @@ -1,8 +1,8 @@ name: Close inactive issues on: schedule: - - cron: "0 6 * * *" - + - cron: "0 */4 * * *" # every 4 hours + workflow_dispatch: # allow manual runs jobs: close-issues: runs-on: ubuntu-latest @@ -12,6 +12,7 @@ jobs: steps: - uses: actions/stale@v10 with: + repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 60 days-before-issue-close: 14 stale-issue-label: "stale" @@ -19,4 +20,5 @@ jobs: close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." days-before-pr-stale: -1 days-before-pr-close: -1 - repo-token: ${{ secrets.GITHUB_TOKEN }} + only-issue-labels: "Bug" + remove-stale-when-updated: true