From 67e665a2a5a852eb57080748d18e3df4c9c79a3a Mon Sep 17 00:00:00 2001 From: Sergey Bogatyrets Date: Sun, 13 Feb 2022 12:27:33 +0300 Subject: [PATCH] Add stale issuse github workflow --- .github/workflows/stales.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/stales.yml diff --git a/.github/workflows/stales.yml b/.github/workflows/stales.yml new file mode 100644 index 0000000..56c485a --- /dev/null +++ b/.github/workflows/stales.yml @@ -0,0 +1,26 @@ +name: Stales + +# yamllint disable-line rule:truthy +on: + schedule: + - cron: "0 * * * *" + workflow_dispatch: + +jobs: + stale: + runs-on: ubuntu-latest + steps: + # The 90 day stale policy + # Used for: + # - Issues + - name: 90 days stale issues + uses: actions/stale@v4 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 90 + days-before-close: 7 + remove-stale-when-updated: true + stale-issue-label: "stale" + exempt-issue-labels: "no-stale" + stale-issue-message: "This issue is stale because it has been open for 90 days with no activity." + close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."