From 5a189c4d9a99d0aa4b956be326f91baf8d4e84b6 Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Wed, 20 Nov 2024 10:22:19 +0100 Subject: [PATCH] Setup a bot that comments on PR that is stale for 2 weeks --- .../bot-remind-stale-pull-requests.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/bot-remind-stale-pull-requests.yml diff --git a/.github/workflows/bot-remind-stale-pull-requests.yml b/.github/workflows/bot-remind-stale-pull-requests.yml new file mode 100644 index 0000000000..b8846c2bdc --- /dev/null +++ b/.github/workflows/bot-remind-stale-pull-requests.yml @@ -0,0 +1,19 @@ +name: "Send comment to stale PRs" +on: + schedule: + # Run everyday at midnight + - cron: "0 0 * * *" + +jobs: + review-reminder: + runs-on: ubuntu-latest + steps: + - uses: sojusan/github-action-reminder@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + reminder_message: "🛎️ This PR has had no activity in two weeks." + # Remind after two weeks of inactivity + inactivity_deadline_hours: 336 + default_users_to_notify: | + @pabzm + @alecpl