* One bot that notifies on manually set reminders
* One bot that comments on PR that is stale for 2 weeks
--- /dev/null
+name: 'Create reminder from comment'
+
+permissions:
+ issues: write
+ pull-requests: write
+
+on:
+ issue_comment:
+ types: [created, edited]
+
+jobs:
+ reminder:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: 👀 check for reminder
+ uses: agrc/create-reminder-action@v1
--- /dev/null
+name: 'Notify manually requested reminders'
+
+on:
+ schedule:
+ - cron: '0 * * * *'
+
+permissions:
+ issues: write
+ pull-requests: write
+
+jobs:
+ reminder:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: check reminders and notify
+ uses: agrc/reminder-action@v1
--- /dev/null
+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