From 159bc5a164b4b35699e2c27b058f2844044f1ca0 Mon Sep 17 00:00:00 2001 From: Sandhya Adavikolanu Date: Tue, 24 Feb 2026 22:47:42 -0800 Subject: [PATCH] Create stale-issues.yaml github-actions: align stale workflow with OSSOps recommendations This update brings the stale-issues GitHub workflow into alignment with OSSOps-recommended settings. The changes improve the handling of stale issues and pull requests, ensure maintainers are notified when items become stale, and prevent premature closure of open work. These updates help maintain consistent triage behavior across Qualcomm-hosted open-source projects. Changes included: - Set a 30-day threshold for marking issues and PRs as stale. - Notify the appropriate team when an item becomes stale. - Prevent automatic closure of stale issues and PRs. Signed-off-by: Sandhya Adavikolanu --- .github/workflows/stale-issues.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..9a60cbd --- /dev/null +++ b/.github/workflows/stale-issues.yaml @@ -0,0 +1,23 @@ +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-stale-when-updated: true + remove-issue-stale-when-updated: true + remove-pr-stale-when-updated: true