Giter Club home page Giter Club logo

pr-reminder's Introduction

PR Reminder For Slack & Discord

Description

리뷰를 기다리느라 지치는 개발자들을 위한 PR 리마인더입니다.
설정한 시간보다 오래 리뷰를 받지 못한 PR이 있다면 웹훅 메세지를 보내요.
SlackDiscord를 지원합니다.

How to use

name: PR Reminder
on:
  schedule:
    - cron: '0 3 * * *' # 12:00 Asia/Seoul

jobs:
  pr-reminder:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: read

    steps:
      - name: Run PR reminder
        uses: SeongHo5/[email protected]
        with:
          platform: slack
          webhook-url: ${{ secrets.WEBHOOK_URL }}
          remind-time: 24
  • platform: 웹훅 알림을 받을 플랫폼을 선택합니다. (slack, discord)
  • webhook-url: Slack 또는 Discord에서 생성한 웹훅 URL을 입력합니다.
  • remind-time: 리마인드 대상이 되는 PR의 최대 대기 시간을 입력합니다. (단위: 시간)

Notes

  • schedule으로 스케줄 설정을 하는 경우, cron 표현식은 반드시 UTC 기준으로 작성 해주세요.
    • 한국 시간(KST)은 UTC보다 9시간 빠릅니다. 따라서, 한국 시간 12시에 리마인드 알림을 받고 싶다면, UTC 기준 3시로 설정해야 합니다.
  • Workflow가 PR 정보를 읽어오려면, permissionspull-requests: read를 필수로 입력해야 합니다.
  • webhook-url은 GitHub Secrets에 저장하여 사용하는 것을 권장합니다.

pr-reminder's People

Contributors

seongho5 avatar

Stargazers

Cho HyoungGeun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.