-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from ubq-testing/development
- Loading branch information
Showing
27 changed files
with
485 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,46 @@ | ||
# @ubiquibot/user-activity-watcher | ||
|
||
Watches user activity on issues, sends reminders on deadlines, and eventually unassigns inactive user to ensure that | ||
Watches user activity on issues, sends reminders on deadlines, and eventually unassigns inactive user to ensure that | ||
tasks don't stall, and subtracts XP. | ||
|
||
## Setup | ||
|
||
```shell | ||
yarn install | ||
``` | ||
|
||
### Database | ||
|
||
To start a local instance, run | ||
|
||
```shell | ||
supabase start | ||
``` | ||
|
||
Afterward, you can generate types for full auto-completion with | ||
|
||
```shell | ||
yarn supabase:generate:local | ||
``` | ||
|
||
### Test | ||
|
||
To start Jest testing, run | ||
|
||
```shell | ||
yarn test | ||
``` | ||
|
||
## Valid configuration | ||
|
||
```yaml | ||
- plugin: ubiquibot/user-activity-watcher | ||
type: github | ||
with: | ||
disqualification: "7 days" | ||
warning: "3.5 days" | ||
watch: | ||
optOut: | ||
watch: | ||
optOut: | ||
- "repoName" | ||
- "repoName2" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "User activity watcher", | ||
"description": "Watches user activity on issues, sends reminders on deadlines, and unassign inactive users.", | ||
"ubiquity:listeners": [ "pull_request_review_comment.created", "issue_comment.created", "push" ] | ||
"ubiquity:listeners": ["pull_request_review_comment.created", "issue_comment.created", "push"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.