From 5b1dd688d7ce447efcfdb3e9bdb73ecbde060a67 Mon Sep 17 00:00:00 2001 From: Divyansh Date: Fri, 1 Oct 2021 12:49:39 +0530 Subject: [PATCH] Created Stale Bot Signed-off-by: Divyansh --- .github/workflows/stale.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..585f72e --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +name: greetings.yml + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: ':wave: Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.' + stale-pr-message: ':wave: Hi! This pull request has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.' + stale-issue-label: 'stale' + exempt-issue-label: 'keep-open' + stale-pr-label: 'stale' + days-before-stale: 60 + days-before-close: 7 \ No newline at end of file