From 40b22f6f1f803a7aedc364200b0f9cd7f3b898b0 Mon Sep 17 00:00:00 2001 From: Ryan Ghods Date: Tue, 9 Apr 2024 17:43:04 -0700 Subject: [PATCH] add stale workflow --- .github/workflows/stale.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 00000000..c9cd0643 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,20 @@ +name: "Close stale issues" +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment." + stale-pr-message: "This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment." + days-before-stale: 60 + days-before-close: 14 + operations-per-run: 1000 + exempt-pr-labels: "work-in-progress,informational" + exempt-issue-labels: "work-in-progress,informational" \ No newline at end of file