Skip to content

Commit

Permalink
Merge pull request #259 from xcodeswift/danger-checks
Browse files Browse the repository at this point in the history
Update Danger to warn if the PR title contains WIP
  • Loading branch information
Pedro Piñera Buendía authored Apr 30, 2018
2 parents de910dd + 7217ddf commit 066211a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- `fullPath(fileElement:reference:sourceRoot:)` now returns the correct path for files that exist within a variant group https://github.com/xcodeswift/xcproj/pull/255 by @ileitch

### Added
- Update Danger to warn if the PR title contains WIP https://github.com/xcodeswift/xcproj/pull/259 by @pepibumur.
- Test coverage reports https://github.com/xcodeswift/xcproj/pull/258 by @pepibumur

## 4.3.0
Expand Down
3 changes: 3 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ danger.import_dangerfile(gem: 'danger-xcodeswift')
# Carthage
Danger::Plugins::Carthage.new(self).execute

# WIP
warn "PR is classed as Work in Progress" if github.pr_title.include? "[WIP]"

# Swiftlint
swiftlint.lint_files

0 comments on commit 066211a

Please sign in to comment.