README.md in danger-jira-0.6.0 vs README.md in danger-jira-0.9.0
- old
+ new
@@ -1,11 +1,11 @@
# danger-jira
[](LICENSE.txt)
[](https://rubygems.org/gems/danger-jira)
-A [Danger](https://github.com/danger/danger) plugin for that links JIRA issues to pull requests. Inspired by [danger-plugin-jira-issue](https://github.com/macklinu/danger-plugin-jira-issue)
+A [Danger](https://github.com/danger/danger) plugin for that links JIRA issues to pull requests for both GitHub and GitLab. Inspired by [danger-plugin-jira-issue](https://github.com/macklinu/danger-plugin-jira-issue)
## Installation
Add this line to your Gemfile:
@@ -20,10 +20,12 @@
jira.check(
key: ["KEY", "PM"],
url: "https://myjira.atlassian.net/browse",
search_title: true,
search_commits: false,
+ search_branch: false,
+ search_body: false,
fail_on_warning: false,
report_missing: true,
skippable: true
)
```
@@ -49,10 +51,10 @@
Generated by :no_entry_sign: <a href="http://github.com/danger/danger/">Danger</a>
</p>
## Skipping
-You can skip danger checking for a JIRA issue by having `[no-jira]` in your title or PR body.
+You can skip danger checking for a JIRA issue by if `no-jira` is provided on the PR title, description or commits. `nojira` is also allowed on branch names.
## License
MIT