From d6e55d6bbb7af481b76f0710da666d9396fd318b Mon Sep 17 00:00:00 2001 From: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com> Date: Wed, 10 May 2023 17:25:35 +0800 Subject: [PATCH] Bala/Close stale PRs (#8554) * chore: close stale prs * chore: add EOL --- .github/workflows/stale.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 000000000000..8f317b14b8de --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,18 @@ +permissions: + issues: write + pull-requests: write + +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + days-before-stale: 60 + days-before-close: 5