From 09d25320b4236cab158bece788e4d26a34815cb6 Mon Sep 17 00:00:00 2001 From: Sandhya Adavikolanu Date: Tue, 10 Mar 2026 16:01:37 -0700 Subject: [PATCH] Create stale-issues.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ofstale 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. -Improve consistency with Qualcomm open-source automation templates. These changes enhance project hygiene and ensure the workflow follows Qualcomm’s open-source best practices. 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