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."