From 9ab0a571ed73e4b32c2a0aefca13f64c04cedc77 Mon Sep 17 00:00:00 2001 From: Joe Lombrozo Date: Tue, 10 Dec 2024 20:22:39 -0500 Subject: [PATCH] close stale PRs and issues on a cadence --- .github/workflows/nightly.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/nightly.yaml diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml new file mode 100644 index 00000000..4babcd81 --- /dev/null +++ b/.github/workflows/nightly.yaml @@ -0,0 +1,18 @@ +name: maintenance + +on: + schedule: + - cron: "0 9 * * 1" # 9 am on Monday + +jobs: + clean-up: + runs-on: ubuntu-22.04 + + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v9.0.0 + with: + days-before-stale: '120'