From a89a5713ac1b75912b5141f1e4415d2e34971290 Mon Sep 17 00:00:00 2001 From: Evan Date: Fri, 5 Apr 2024 14:00:58 -0700 Subject: [PATCH 1/4] Stale Workflow Creation --- .github/workflows/stale.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 000000000..ce483f97a --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: Mark stale issues + +on: + schedule: + - cron: "0 0 * * *" # Midnight Runtime + +jobs: + stale: + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: "This issue has been labeled as 'pending-requestor-info', indicating that it requires additional information from the requestor. It has been inactive for 7 days. If no further activity occurs, this issue will be closed in 14 days." + stale-issue-label: "stale" + days-before-stale: 7 + days-before-close: 14 + remove-stale-when-updated: true + close-issue-message: "This issue has been closed due to inactivity. If you still require assistance, please provide the requested information and reopen the issue." + close-issue-label: "closed-due-to-inactivity" + operations-per-run: 100 + only-labels: "pending-requestor-info" From f625f3d1b7495d4f9f1f3909ed8775b7fb5b2bde Mon Sep 17 00:00:00 2001 From: Evan Date: Mon, 15 Apr 2024 10:30:42 -0700 Subject: [PATCH 2/4] Refactor --- .github/workflows/stale.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index ce483f97a..9f95e1c4b 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -12,12 +12,12 @@ jobs: - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: "This issue has been labeled as 'pending-requestor-info', indicating that it requires additional information from the requestor. It has been inactive for 7 days. If no further activity occurs, this issue will be closed in 14 days." + stale-issue-message: "This issue has been labeled as a 'question', indicating that it requires additional information from the requestor. It has been inactive for 7 days. If no further activity occurs, this issue will be closed in 14 days." stale-issue-label: "stale" days-before-stale: 7 days-before-close: 14 remove-stale-when-updated: true close-issue-message: "This issue has been closed due to inactivity. If you still require assistance, please provide the requested information and reopen the issue." - close-issue-label: "closed-due-to-inactivity" + close-issue-label: "not-planned" operations-per-run: 100 - only-labels: "pending-requestor-info" + only-labels: "question" From cf9268eae6e08969adf4f43bb3bb405be7a72bf8 Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 18 Apr 2024 16:28:32 -0700 Subject: [PATCH 3/4] Update .github/workflows/stale.yml Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com> --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 9f95e1c4b..63365f20a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -17,7 +17,7 @@ jobs: days-before-stale: 7 days-before-close: 14 remove-stale-when-updated: true - close-issue-message: "This issue has been closed due to inactivity. If you still require assistance, please provide the requested information and reopen the issue." + close-issue-message: "This issue has been closed due to inactivity. If you still require assistance, please provide the requested information." close-issue-label: "not-planned" operations-per-run: 100 only-labels: "question" From 808d9c9d2e13ec1645e7c4147222563031a2a581 Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 18 Apr 2024 16:32:24 -0700 Subject: [PATCH 4/4] Refactor --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 63365f20a..053f0191a 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -18,6 +18,6 @@ jobs: days-before-close: 14 remove-stale-when-updated: true close-issue-message: "This issue has been closed due to inactivity. If you still require assistance, please provide the requested information." - close-issue-label: "not-planned" + close-issue-reason: "not-planned" operations-per-run: 100 only-labels: "question"