From 54cbbbc11dca58cb36185168b1d96dcea9151fdd Mon Sep 17 00:00:00 2001 From: Sandhya Adavikolanu Date: Tue, 10 Feb 2026 19:39:08 -0800 Subject: [PATCH] github-actions: align stale workflow with OSSOps recommendations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit github-actions: align stale issue workflow with OSSOps recommendations This change updates the stale-issues workflow to follow OSSOps-recommended settings. The improvements enhance stale issue and PR management, increase maintainer visibility, and bring the repository closer to Qualcomm’s standard automation practices. Updates include: - Setting 30 days as the default threshold for marking items as stale. - Notifying the appropriate team when an issue or PR becomes stale. - Preventing automatic closure of stale items. - Remove exemption labels for issues and PRs, as exemptions are only useful when auto‑closing is enabled, and auto‑closing is intentionally disabled. - Improving consistency with the Qualcomm GitHub repository template. These adjustments help ensure better triage, clearer automation behavior, and alignment with broader Qualcomm open-source best practices. Signed-off-by: Sandhya Adavikolanu 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..1c8e5c5 --- /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: '@qualcomm-linux/kernel-config This issue has been marked as stale due to 30 days of inactivity.' + stale-pr-message: '@qualcomm-linux/kernel-config 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