Skip to content

Commit

Permalink
chore: add danger
Browse files Browse the repository at this point in the history
  • Loading branch information
aussedatlo committed Feb 13, 2024
1 parent 13ea323 commit 3ad45ea
Show file tree
Hide file tree
Showing 3 changed files with 791 additions and 1 deletion.
7 changes: 7 additions & 0 deletions dangerfile.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { danger, fail } from "danger";

if (danger.github.pr.assignee === null) {
fail(
"Please assign someone to merge this PR, and optionally include people who should review."
);
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.10.6",
"danger": "^11.3.1",
"eslint": "^8.56.0",
"husky": "^9.0.10",
"hygen": "^6.2.11",
Expand Down
Loading

0 comments on commit 3ad45ea

Please sign in to comment.