Skip to content

Commit

Permalink
Improve Dangerfile code
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Oct 23, 2023
1 parent 604a7d9 commit 1a95001
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .buildkite/danger/Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@

return if github.pr_labels.include?('Releases')

github.dismiss_out_of_range_messages

manifest_pr_checker.check_gemfile_lock_updated

labels_checker.check(
required_labels: [//],
required_labels_error: 'PR is missing at least one label.'
)

view_changes_need_screenshots.view_changes_need_screenshots

pr_size_checker.check_diff_size

android_unit_test_checker.check_missing_tests

milestone_checker.check_milestone_due_date(days_before_due: 2)

github.dismiss_out_of_range_messages
rubocop.lint inline_comment: true, fail_on_inline_comment: true, include_cop_names: true
rubocop.lint(inline_comment: true, fail_on_inline_comment: true, include_cop_names: true)

warn "No reviewers have been set for this PR yet. Please request a review from **@\u2028Automattic/pocket-casts-android**." unless github.pr_json['assignee']

0 comments on commit 1a95001

Please sign in to comment.