From 2040c0fcf2fc022867a242fa979460d3aaf4db62 Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Tue, 10 Oct 2023 11:35:55 -0400 Subject: [PATCH] Create stale.yml --- .github/workflows/stale.yml | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 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..01f06f7d --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,44 @@ +name: Stale +on: + schedule: + - cron: "0 12 * * *" + workflow_dispatch: + +jobs: + stale: + if: github.repository_owner == 'fronzbot' + runs-on: ubuntu-latest + - name: stale-issues + uses: actions/stale@v8.0.0 + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 60 + days-before-close: 7 + days-before-pr-stale: -1 + days-before-pr-close: -1 + remove-stale-when-updated: true + stale-issue-label: "stale" + exempt-issue-labels: "no-stale,help-wanted,priority" + stale-issue-message: > + There hasn't been any activity on this issue recently. + Please make sure to update to the latest blinkpy version and + check if that solves the issue. Let us know if that works for you by + adding a comment 👍 + + This issue has now been marked as stale and will be closed if no + further activity occurs. Thank you for your contributions. + - name: stale-prs + uses: actions/stale@v8.0.0 + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 90 + days-before-close: 7 + days-before-issue-stale: -1 + days-before-issue-close: -1 + remove-stale-when-updated: true + stale-issue-label: "stale" + exempt-issue-labels: "no-stale" + stale-pr-message: > + There hasn't been any activity on this pull request recently. This + pull request has been automatically marked as stale because of that + and will be closed if no further activity occurs within 7 days. + + Thank you for your contributions.