From 96952d43a6ce635a9cf32dde9a7b2fb4cb130b26 Mon Sep 17 00:00:00 2001 From: Shivam Goyal Date: Fri, 19 May 2023 00:28:07 +0530 Subject: [PATCH] TP-00000 | Synced file(s) with navi-android/workflows (#3) TP-00000 | Created local '.github/workflows/stale.yml' from remote 'stale/stale.yml' --- .github/workflows/stale.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..e8e9f35 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,20 @@ +name: Mark & Close Stale PRs + +on: + workflow_dispatch: + schedule: + - cron: "30 4 * * MON" + +jobs: + stale: + runs-on: [ default ] + steps: + - uses: actions/stale@v6 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-pr-stale: 42 + stale-pr-label: 'STALE' + stale-pr-message: "This PR hasn't seen activity in the last 6 weeks! Should it be merged, closed, or worked on further? If you want to keep it open, post a comment or remove the `STALE` label – otherwise, this will be closed in 2 weeks." + days-before-pr-close: 14 + close-pr-label: 'CLOSED BY STALE' + close-pr-message: 'This PR was closed due to 8 weeks of inactivity. Feel free to reopen it if still relevant.'