Skip to content

Commit

Permalink
Merge pull request #54 from gentlementlegen/feat/deadline-message
Browse files Browse the repository at this point in the history
feat: deadline-message
  • Loading branch information
gentlementlegen authored Dec 12, 2024
2 parents ac47cf5 + cfce4fd commit 0a81584
Show file tree
Hide file tree
Showing 20 changed files with 177 additions and 63,090 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/* linguist-generated
bun.lockb linguist-generated
2 changes: 1 addition & 1 deletion .github/knip.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { KnipConfig } from "knip";

const config: KnipConfig = {
entry: ["src/index.ts"],
entry: ["src/index.ts", "src/worker.ts"],
project: ["src/**/*.ts"],
ignore: ["**/__mocks__/**", "**/__fixtures__/**", "src/types/database.ts", "dist/**"],
ignoreExportsUsedInFile: true,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
compute:
environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }}
permissions: write-all
name: User Activity Watcher
name: Daemon Disqualifier
runs-on: ubuntu-latest
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn commitlint --edit "$1"
bun commitlint --edit "$1"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
bun lint-staged
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# @ubiquity-os/daemon-disqualifier

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 disqualification threshold, and eventually unassigns inactive user to ensure that
tasks don't stall, and subtracts XP.

## Setup

```shell
yarn install
bun install
```

### Database
Expand All @@ -20,15 +20,15 @@ supabase start
Afterward, you can generate types for full auto-completion with

```shell
yarn supabase:generate:local
bun supabase:generate:local
```

### Test

To start Jest testing, run

```shell
yarn test
bun test
```

## Valid configuration
Expand All @@ -40,6 +40,7 @@ yarn test
disqualification: "7 days"
warning: "3.5 days"
prioritySpeed: true
pullRequestRequired: true
watch:
optOut:
- "repoName"
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0a81584

Please sign in to comment.