Created
February 27, 2020 00:52
-
-
Save manakuro/8635c60e8f47f753e1666196085691e7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// dangerfile.ts | |
import { warn, danger } from "danger" | |
const prThreshold = 300; | |
if (danger.github.pr.additions + danger.github.pr.deletions > prThreshold) { | |
warn(':exclamation: Big PR'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment