From c8347b7e8fcf5e35dce842547749f6fda10863d2 Mon Sep 17 00:00:00 2001 From: vintagepc <53943260+vintagepc@users.noreply.github.com> Date: Tue, 30 Mar 2021 08:28:38 -0400 Subject: [PATCH] Initial stale issue workflow --- .github/workflows/stale.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..b8a74037e --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,29 @@ +name: Mark stale issues + +on: + schedule: + # 1:30 AM on MON/THU + - cron: "30 1 * * 1,4" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + # Don't ever mark PRs as stale. + days-before-pr-stale: -1 + stale-issue-message: 'This issue is stale because it has been open for 60 days with no activity. The issue will be closed in 7 days unless you remove the "stale" label or add a comment.' + close-issue-message: 'This issue has been closed due to lack of activity.' + # Don't act on things assigned to a milestone or assigned to someone. + exempt-all-milestones: true + exempt-all-assignees: true + enable-statistics: true + # Disable this and change the operations per run back to 30 when this goes live. + debug-only: true + operations-per-run: 1000 + stale-issue-label: 'stale-issue' + stale-pr-label: 'stale-pr'