Skip to content

Commit

Permalink
[#242] Add sample danger file
Browse files Browse the repository at this point in the history
  • Loading branch information
doannimble committed Nov 13, 2023
1 parent 5000893 commit 4febe35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bricks/template/__brick__/dangerfile.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import 'package:danger_core/danger_core.dart';

void main() {
if (danger.github.pr.title.contains('WIP')) {
warn('PR is considered WIP');
}
}

0 comments on commit 4febe35

Please sign in to comment.