From b3873ea6fc62f5066992564ebef4d69dfba97f94 Mon Sep 17 00:00:00 2001 From: Samikshya Chand Date: Mon, 24 Feb 2025 10:58:23 +0530 Subject: [PATCH] close stale issues and PR --- .github/workflows/close-stale.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/close-stale.yml diff --git a/.github/workflows/close-stale.yml b/.github/workflows/close-stale.yml new file mode 100644 index 000000000..cb5e13ac3 --- /dev/null +++ b/.github/workflows/close-stale.yml @@ -0,0 +1,22 @@ +name: 'Close stale issues and PRs' +on: + schedule: + # Run at 06:30 GMT everyday + - cron: "30 6 * * *" +jobs: + stale: + runs-on: + group: databricks-protected-runner-group + labels: linux-ubuntu-latest + steps: + # Release v9 (https://github.com/actions/stale/tree/v9.0.0) + - uses: actions/stale@v9 + with: + stale-issue-message: "This issue has been marked as Stale because it has been open for 60 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue." + stale-pr-message: "This PR has been marked as Stale because it has been open for 60 days with no activity. If you would like the PR to remain open, please remove the stale label or comment on the PR." + close-pr-message: "This PR was closed because it has been inactive for 10 days since being marked as stale." + close-issue-message: "This issue was closed because it has been inactive for 10 days since being marked as stale." + days-before-stale: 60 + days-before-close: 10 + # ignore checking issues with the following labels + exempt-issue-labels: "epic, discussion" \ No newline at end of file