From 398b974fbf1f4780146ec4193bfb223bd8a3e10d Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Fri, 21 Jun 2024 10:44:05 +0200 Subject: [PATCH] feat(ci): add stale --- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..93e91293 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +name: stale +# https://github.com/actions/stale + +on: + schedule: + - cron: "0 7 * * 1-5" + workflow_dispatch: +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: "This issue has been open for **7 days** with no activity. Remove the stale label or add a comment or it will be closed in **3 days**." + stale-pr-message: "This PR has been open for **7 days** with no activity. Remove the stale label or add a comment or it will be closed in **3 days**." + close-issue-message: "This issue was closed because it has been stalled for 10 days with no activity." + close-pr-message: "This PR was closed because it has been stalled for 10 days with no activity." + days-before-stale: 7 + days-before-close: 3 + exempt-pr-labels: dependencies + exempt-issue-labels: dependencies