From f4fc3c4e6fe531da27a3bfb6d6a00a256a85544f Mon Sep 17 00:00:00 2001 From: Aysel Afsar Date: Fri, 22 Mar 2024 22:27:53 -0400 Subject: [PATCH] chore(stale): Add stale github action --- .github/workflows/stale.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 0000000..151332b --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,25 @@ +name: 'Close stale issues' + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-label: 'stale' + stale-issue-message: > + This issue has been automatically marked as stale because it has not had + recent activity and seems to be missing some essential information. + It will be closed if no further activity occurs. Thank you + for your contributions. + close-issue-message: > + This issue was closed because it has been stalled for 60 days with no activity. + days-before-issue-stale: 180 + days-before-issue-close: 60 + exempt-issue-labels: 'verified'