Skip to content

Commit

Permalink
Setup a bot that comments on PR that is stale for 2 weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm committed Nov 20, 2024
1 parent ef76e6f commit 5a189c4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/bot-remind-stale-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5a189c4

Please sign in to comment.