Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 949 Bytes

README.md

File metadata and controls

52 lines (39 loc) · 949 Bytes

@ubiquity-os/daemon-disqualifier

Watches user activity on issues, sends reminders on disqualification threshold, and eventually unassigns inactive user to ensure that tasks don't stall, and subtracts XP.

Setup

bun install

Database

To start a local instance, run

supabase start

Afterward, you can generate types for full auto-completion with

bun run supabase:generate:local

Test

To start Jest testing, run

bun run test

Valid configuration

- plugin: ubiquity-os/daemon-disqualifier
  with:
    disqualification: "7 days"
    warning: "3.5 days"
    prioritySpeed: true
    pullRequestRequired: true
    watch:
      optOut:
        - "repoName"
        - "repoName2"
    eventWhitelist: # these are the tail of the webhook event i.e. pull_request.review_requested
      - "review_requested"
      - "ready_for_review"
      - "commented"
      - "committed"