From 4545967e4c5c9f76dfe518269b31091352a02a64 Mon Sep 17 00:00:00 2001 From: Sandhya Adavikolanu Date: Mon, 13 Apr 2026 18:58:48 -0700 Subject: [PATCH] ci: align stale workflow settings Create stale-issues.yaml to align stale workflow with OSS best practices. - Mark issues/PRs as stale after 30 days - Notify maintainers when items become stale - Disable auto-closing of stale items - Ensure consistency with automation templates Signed-off-by: Sandhya Adavikolanu --- .github/workflows/stale-issues.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/stale-issues.yaml diff --git a/.github/workflows/stale-issues.yaml b/.github/workflows/stale-issues.yaml new file mode 100644 index 0000000..62531b9 --- /dev/null +++ b/.github/workflows/stale-issues.yaml @@ -0,0 +1,19 @@ +name: 'Close stale issues and pull requests with no recent activity' +on: + schedule: + - cron: "30 1 * * *" +permissions: + issues: write + pull-requests: write +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v10 + with: + stale-issue-message: 'AudioReach/audioreach.triage This issue has been marked as stale due to 30 days of inactivity.' + stale-pr-message: 'AudioReach/audioreach.triage This pull request has been marked as stale due to 30 days of inactivity.' + days-before-stale: 30 + days-before-close: -1 + remove-issue-stale-when-updated: true + remove-pr-stale-when-updated: true