From 2ac53f2df91767c25a7f2f9dfbc280e45e8c79df Mon Sep 17 00:00:00 2001 From: MatteoGabriele Date: Sat, 18 Apr 2026 23:15:24 +0200 Subject: [PATCH 1/2] chore: add workflow for stale prs and issue type bug --- .github/workflows/stale.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..aaf60437e7 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,37 @@ +name: Stale Issues and PRs + +on: + schedule: + # Run daily at 2 AM UTC + - cron: '0 2 * * *' + workflow_dispatch: # Allow manual trigger + +permissions: + issues: write + pull-requests: write + +jobs: + stale-bugs: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f + with: + days-before-issue-stale: 30 + days-before-issue-close: 7 + remove-stale-when-updated: true + only-issue-types: 'bug' + stale-issue-label: 'stale' + close-issue-label: 'stale' + operations-per-run: 500 + + stale-prs: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f + with: + days-before-pr-stale: 30 + days-before-pr-close: 7 + remove-stale-when-updated: true + stale-pr-label: 'stale' + close-pr-label: 'stale' + operations-per-run: 500 From 3c12eeeaa5c52561adb12790615759e1b64b4ddd Mon Sep 17 00:00:00 2001 From: Matteo Gabriele Date: Sat, 18 Apr 2026 23:27:14 +0200 Subject: [PATCH 2/2] Update .github/workflows/stale.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .github/workflows/stale.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index aaf60437e7..064a9abde8 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -18,6 +18,8 @@ jobs: with: days-before-issue-stale: 30 days-before-issue-close: 7 + days-before-pr-stale: -1 + days-before-pr-close: -1 remove-stale-when-updated: true only-issue-types: 'bug' stale-issue-label: 'stale' @@ -29,6 +31,8 @@ jobs: steps: - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f with: + days-before-issue-stale: -1 + days-before-issue-close: -1 days-before-pr-stale: 30 days-before-pr-close: 7 remove-stale-when-updated: true