Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup reminder bots #280

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/bot-create-manual-reminder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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
17 changes: 17 additions & 0 deletions .github/workflows/bot-manual-reminder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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
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
Loading