Skip to content
git-pull-request

GitHub Action

Pull request reviewee reminder action

v2.0.0 Latest version

Pull request reviewee reminder action

git-pull-request

Pull request reviewee reminder action

Action to send Github mentions when there are pull requests that has exceeded the lifetime

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Pull request reviewee reminder action

uses: tommykw/pull-request-reviewee-reminder-action@v2.0.0

Learn more about this action in tommykw/pull-request-reviewee-reminder-action

Choose a version

reminder-test

Pull Request reviewee reminder action

Summary

Action to send Github mentions when there are pull requests that has exceeded the lifetime. This action generated from actions/typescript-action. If the pull request is alive within the specified time, they will send a mention to the github reviewee. This is useful if you have a long lived pull request.

Setup

Create a file with the following content under .github/workflows/pull-request-reviewee-reminder.yml.

name: 'Pull request reviewee reminder'
on:
  schedule:
    # Check pull requests every weekday, 10:00 and 17:00
    - cron: '0 10,17 * * 1-5'
    
jobs:
  pull-request-reviewee-reminder: 
    runs-on: ubuntu-latest
    steps:
      - uses: tommykw/pull-request-reviewee-reminder-action@v2
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }} # Required
          reminder_message: 'The pull request has been alive for more than 2 days. Let's work with priority.' # Required. Messages to send to reviewee on Github.
          pull_request_lifetime_hours: 48 # Required. This is a lifetime of pull request. If this time is exceeded, a reminder wil be send.

License

MIT