From 8b94bc1a01f21e6d0b7a87fb85bf3b24eb8adfb1 Mon Sep 17 00:00:00 2001 From: Kate Brenner Date: Fri, 31 May 2024 15:40:38 -0400 Subject: [PATCH 1/2] add stalebot for issues --- .github/workflows/stale.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..e69de29 From b9a66cab862148c3c806d792682f22ff5ed8f942 Mon Sep 17 00:00:00 2001 From: Kate Brenner Date: Tue, 4 Jun 2024 14:13:11 -0400 Subject: [PATCH 2/2] add stalebot for issues --- .github/workflows/stale.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e69de29..d79df9b 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -0,0 +1,30 @@ +name: 'Close stale issues' +on: + schedule: + # run at 1:30 every day + - cron: '30 1 * * *' + +permissions: + issues: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + # start from the oldest issues when performing stale operations + ascending: true + days-before-issue-stale: 365 + days-before-issue-close: 30 + stale-issue-label: stale + exempt-issue-labels: no stalebot,type/epic + stale-issue-message: > + This issue has been automatically marked as stale because it has not had + activity in the last year. It will be closed in 30 days if no further activity occurs. Please + feel free to leave a comment if you believe the issue is still relevant. + Thank you for your contributions! + close-issue-message: > + This issue has been automatically closed because it has not had any further + activity in the last 30 days. Thank you for your contributions!